#2F3C96#2F3C96
#2F3C96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.147 H 271.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C96 |
|---|---|
| RGB | rgb(47, 60, 150) |
| HSL | hsl(232, 52%, 39%) |
| HSV | hsv(232, 69%, 59%) |
| CMYK | cmyk(68.7%, 60%, 0%, 41.2%) |
| CIE-LAB | lab(29.51, 25.60, -51.07) |
| CIE-LCH | lch(29.51, 57.13, 296.63°) |
| OKLab | oklab(40.23% 0.0046 -0.1471) |
| OKLCH | oklch(40.23% 0.147 271.8) |
| XYZ | xyz(8.2913, 6.0373, 29.5766) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.48
Blueberry
#464196
ΔE00 3.76
Darkslateblue
#483D8B
ΔE00 4.98
Cobalt
#0047AB
ΔE00 5.91
Cobalt (survey)
#1E488F
ΔE00 6.11
Ocean Blue
#4F42B5
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C96 #96892F
analogous
#2F6F96 #2F3C96 #552F96
triadic
#2F3C96 #962F3C #3C962F
tetradic
#2F3C96 #962F6F #96892F #2F9655
square
#2F3C96 #962F6F #96892F #2F9655
split-complementary
#2F3C96 #96552F #6F962F
monochromatic
#121739 #202967 #2F3C96 #3F50C3 #6E7AD2
Accessibility & contrast
On white
9.51
#2F3C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2F3C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C96
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C96 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f3c96; /* rgb */ color: rgb(47, 60, 150); /* oklch */ color: oklch(40.2% 0.147 271.8);
Tailwind
colors: {
custom: {
50: '#7571b6',
500: '#2f3c96',
950: '#000000',
},
}SCSS
$custom: #2f3c96; $custom-light: #7571b6; $custom-dark: #000000;
JSON
{
"hex": "#2f3c96",
"rgb": {
"r": 47,
"g": 60,
"b": 150
},
"hsl": {
"h": 232.427,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.40231,
"c": 0.14719,
"h": 271.8
},
"luminance": 0.06038
}Semantic roles & 50–950 ramp
primary
#2F3C96
secondary
#B9AF68
accent
#CA4CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80