#2F3C8C#2F3C8C
#2F3C8C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.133 H 271.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C8C |
|---|---|
| RGB | rgb(47, 60, 140) |
| HSL | hsl(232, 50%, 37%) |
| HSV | hsv(232, 66%, 55%) |
| CMYK | cmyk(66.4%, 57.1%, 0%, 45.1%) |
| CIE-LAB | lab(28.72, 21.90, -46.20) |
| CIE-LCH | lch(28.72, 51.13, 295.36°) |
| OKLab | oklab(39.4% 0.0044 -0.1328) |
| OKLCH | oklch(39.4% 0.133 271.9) |
| XYZ | xyz(7.5202, 5.7288, 25.5153) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.10
Darkslateblue
#483D8B
ΔE00 4.76
Sapphire (survey)
#2138AB
ΔE00 5.01
Cobalt (survey)
#1E488F
ΔE00 5.75
Cobalt
#0047AB
ΔE00 6.55
Darkish Blue
#014182
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C8C #8C7F2F
analogous
#2F6B8C #2F3C8C #512F8C
triadic
#2F3C8C #8C2F3C #3C8C2F
tetradic
#2F3C8C #8C2F6B #8C7F2F #2F8C51
square
#2F3C8C #8C2F6B #8C7F2F #2F8C51
split-complementary
#2F3C8C #8C512F #6B8C2F
monochromatic
#101530 #20285E #2F3C8C #3E50BA #6977CD
Accessibility & contrast
On white
9.79
#2F3C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2F3C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C8C
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C8C | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3c8c; /* rgb */ color: rgb(47, 60, 140); /* oklch */ color: oklch(39.4% 0.133 271.9);
Tailwind
colors: {
custom: {
50: '#7371ae',
500: '#2f3c8c',
950: '#000000',
},
}SCSS
$custom: #2f3c8c; $custom-light: #7371ae; $custom-dark: #000000;
JSON
{
"hex": "#2f3c8c",
"rgb": {
"r": 47,
"g": 60,
"b": 140
},
"hsl": {
"h": 231.613,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.39395,
"c": 0.1329,
"h": 271.9
},
"luminance": 0.0573
}Semantic roles & 50–950 ramp
primary
#2F3C8C
secondary
#B4A863
accent
#C64FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F