#2A46BB

A color in the Blue, Sky, Navy family

#2a46bb is a color in the Blue, Sky, Navy family: RGB(42, 70, 187), HSL(228°, 63%, 45%), CMYK(78%, 63%, 0%, 27%). Closest named color: darkslateblue. Contrast is 7.8:1 on white and 2.69:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2a46bb
RGBrgb(42 70 187)
RGB (legacy)rgb(42, 70, 187)
RGB %rgb(16% 27% 73%)
HSLhsl(228 63% 45%)
HSV / HSBhsv(228, 78%, 73%)
HWBhwb(228 16% 27%)
CMYKcmyk(78%, 63%, 0%, 27%)
CIELAB (D50)lab(33.81 23.89 -65.97)
LCHlch(33.81 70.16 289.91)
OKLaboklab(0.4514 -0.0078 -0.1863)
OKLCHoklch(0.4514 0.1865 267.6)
Decimal2770619

Properties

Color ToneBlue, Sky, Navy
Closest named colordarkslateblue ΔE 8.7
Closest web-safe color#3333cc
Hue228°
Saturation (HSL / HSV)63% / 78%
Lightness (HSL)45%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)29% / 28%
Relative luminance (WCAG)0.0846
Red / Green / Blue42 / 70 / 187

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.80:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.69:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 86.4 / -15.7 · As background with white / black text: Lc -91.2 / 17.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #2a46bb;
  --color-brand-oklch: oklch(45.14% 0.1865 267.6);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(42 70 187 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2a46bb] text-[#2a46bb] border-[#2a46bb]">