#2B3FB6#2B3FB6
#2B3FB6 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.188 H 269.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3FB6 |
|---|---|
| RGB | rgb(43, 63, 182) |
| HSL | hsl(231, 62%, 44%) |
| HSV | hsv(231, 76%, 71%) |
| CMYK | cmyk(76.4%, 65.4%, 0%, 28.6%) |
| CIE-LAB | lab(32.80, 34.90, -64.94) |
| CIE-LCH | lch(32.80, 73.72, 298.25°) |
| OKLab | oklab(43.45% -0.0026 -0.1879) |
| OKLCH | oklch(43.45% 0.188 269.2) |
| XYZ | xyz(11.2144, 7.4448, 45.0929) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.34
Sapphire (survey)
#2138AB
ΔE00 2.51
Ocean Blue
#4F42B5
ΔE00 4.58
Blue (survey)
#0343DF
ΔE00 5.16
Cobalt
#0047AB
ΔE00 5.20
Blue With A Hint Of Purple
#533CC6
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3FB6 #B6A22B
analogous
#2B85B6 #2B3FB6 #5D2BB6
triadic
#2B3FB6 #B62B3F #3FB62B
tetradic
#2B3FB6 #B62B85 #B6A22B #2BB65D
square
#2B3FB6 #B62B85 #B6A22B #2BB65D
split-complementary
#2B3FB6 #B65D2B #85B62B
monochromatic
#141D53 #1F2E84 #2B3FB6 #4A5ED4 #7B8AE0
Accessibility & contrast
On white
8.44
#2B3FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2B3FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3FB6
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3FB6 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b3fb6; /* rgb */ color: rgb(43, 63, 182); /* oklch */ color: oklch(43.5% 0.188 269.2);
Tailwind
colors: {
custom: {
50: '#7a74cd',
500: '#2b3fb6',
950: '#000000',
},
}SCSS
$custom: #2b3fb6; $custom-light: #7a74cd; $custom-dark: #000000;
JSON
{
"hex": "#2b3fb6",
"rgb": {
"r": 43,
"g": 63,
"b": 182
},
"hsl": {
"h": 231.367,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.43453,
"c": 0.18789,
"h": 269.2
},
"luminance": 0.07446
}Semantic roles & 50–950 ramp
primary
#2B3FB6
secondary
#C8BC75
accent
#CE43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82