#2F3CA8#2F3CA8
#2F3CA8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.172 H 271.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CA8 |
|---|---|
| RGB | rgb(47, 60, 168) |
| HSL | hsl(234, 56%, 42%) |
| HSV | hsv(234, 72%, 66%) |
| CMYK | cmyk(72%, 64.3%, 0%, 34.1%) |
| CIE-LAB | lab(31.03, 32.19, -59.49) |
| CIE-LCH | lch(31.03, 67.64, 298.42°) |
| OKLab | oklab(41.83% 0.0042 -0.1718) |
| OKLCH | oklch(41.83% 0.172 271.4) |
| XYZ | xyz(9.8536, 6.6622, 37.8048) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.55
Blue Blue
#2242C7
ΔE00 4.41
Blueberry
#464196
ΔE00 4.55
Ocean Blue
#4F42B5
ΔE00 4.94
Cobalt
#0047AB
ΔE00 5.68
Darkslateblue
#483D8B
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CA8 #A89B2F
analogous
#2F78A8 #2F3CA8 #5F2FA8
triadic
#2F3CA8 #A82F3C #3CA82F
tetradic
#2F3CA8 #A82F78 #A89B2F #2FA85F
square
#2F3CA8 #A82F78 #A89B2F #2FA85F
split-complementary
#2F3CA8 #A85F2F #78A82F
monochromatic
#141A48 #222B78 #2F3CA8 #4856CC #7883D9
Accessibility & contrast
On white
9.00
#2F3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F3CA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CA8
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CA8 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3ca8; /* rgb */ color: rgb(47, 60, 168); /* oklch */ color: oklch(41.8% 0.172 271.4);
Tailwind
colors: {
custom: {
50: '#7971c3',
500: '#2f3ca8',
950: '#000000',
},
}SCSS
$custom: #2f3ca8; $custom-light: #7971c3; $custom-dark: #000000;
JSON
{
"hex": "#2f3ca8",
"rgb": {
"r": 47,
"g": 60,
"b": 168
},
"hsl": {
"h": 233.554,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.41825,
"c": 0.1719,
"h": 271.4
},
"luminance": 0.06663
}Semantic roles & 50–950 ramp
primary
#2F3CA8
secondary
#C1B971
accent
#CF48E0
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82