#2F3D9C#2F3D9C
#2F3D9C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.154 H 271.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3D9C |
|---|---|
| RGB | rgb(47, 61, 156) |
| HSL | hsl(232, 54%, 40%) |
| HSV | hsv(232, 70%, 61%) |
| CMYK | cmyk(69.9%, 60.9%, 0%, 38.8%) |
| CIE-LAB | lab(30.26, 27.15, -53.50) |
| CIE-LCH | lch(30.26, 59.99, 296.91°) |
| OKLab | oklab(40.94% 0.0038 -0.1543) |
| OKLCH | oklch(40.94% 0.154 271.4) |
| XYZ | xyz(8.8398, 6.3413, 32.2042) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.82
Blueberry
#464196
ΔE00 3.83
Darkslateblue
#483D8B
ΔE00 5.38
Cobalt
#0047AB
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.93
Ocean Blue
#4F42B5
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3D9C #9C8E2F
analogous
#2F739C #2F3D9C #582F9C
triadic
#2F3D9C #9C2F3D #3D9C2F
tetradic
#2F3D9C #9C2F73 #9C8E2F #2F9C58
square
#2F3D9C #9C2F73 #9C8E2F #2F9C58
split-complementary
#2F3D9C #9C582F #739C2F
monochromatic
#13183E #212B6D #2F3D9C #4253C6 #717ED4
Accessibility & contrast
On white
9.26
#2F3D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2F3D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3D9C
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3D9C | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3d9c; /* rgb */ color: rgb(47, 61, 156); /* oklch */ color: oklch(40.9% 0.154 271.4);
Tailwind
colors: {
custom: {
50: '#7672ba',
500: '#2f3d9c',
950: '#000000',
},
}SCSS
$custom: #2f3d9c; $custom-light: #7672ba; $custom-dark: #000000;
JSON
{
"hex": "#2f3d9c",
"rgb": {
"r": 47,
"g": 61,
"b": 156
},
"hsl": {
"h": 232.294,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.40942,
"c": 0.15431,
"h": 271.4
},
"luminance": 0.06342
}Semantic roles & 50–950 ramp
primary
#2F3D9C
secondary
#BCB16B
accent
#CA4BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81