#2F3FB6#2F3FB6
#2F3FB6 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.187 H 270.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3FB6 |
|---|---|
| RGB | rgb(47, 63, 182) |
| HSL | hsl(233, 59%, 45%) |
| HSV | hsv(233, 74%, 71%) |
| CMYK | cmyk(74.2%, 65.4%, 0%, 28.6%) |
| CIE-LAB | lab(33.00, 35.32, -64.61) |
| CIE-LCH | lch(33.00, 73.63, 298.66°) |
| OKLab | oklab(43.65% 0.0013 -0.1868) |
| OKLCH | oklch(43.65% 0.187 270.4) |
| XYZ | xyz(11.3904, 7.5356, 45.1011) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.42
Sapphire (survey)
#2138AB
ΔE00 2.65
Ocean Blue
#4F42B5
ΔE00 4.19
Blue (survey)
#0343DF
ΔE00 5.20
Blue With A Hint Of Purple
#533CC6
ΔE00 5.52
Cobalt
#0047AB
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3FB6 #B6A62F
analogous
#2F82B6 #2F3FB6 #632FB6
triadic
#2F3FB6 #B62F3F #3FB62F
tetradic
#2F3FB6 #B62F82 #B6A62F #2FB663
square
#2F3FB6 #B62F82 #B6A62F #2FB663
split-complementary
#2F3FB6 #B6632F #82B62F
monochromatic
#161D55 #222E85 #2F3FB6 #5060D2 #818CDE
Accessibility & contrast
On white
8.38
#2F3FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2F3FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3FB6
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3FB6 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f3fb6; /* rgb */ color: rgb(47, 63, 182); /* oklch */ color: oklch(43.7% 0.187 270.4);
Tailwind
colors: {
custom: {
50: '#7c74cd',
500: '#2f3fb6',
950: '#000000',
},
}SCSS
$custom: #2f3fb6; $custom-light: #7c74cd; $custom-dark: #000000;
JSON
{
"hex": "#2f3fb6",
"rgb": {
"r": 47,
"g": 63,
"b": 182
},
"hsl": {
"h": 232.889,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.43651,
"c": 0.18682,
"h": 270.4
},
"luminance": 0.07537
}Semantic roles & 50–950 ramp
primary
#2F3FB6
secondary
#C7BE79
accent
#D046E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82