#2F3CB0#2F3CB0
#2F3CB0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.182 H 271.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CB0 |
|---|---|
| RGB | rgb(47, 60, 176) |
| HSL | hsl(234, 58%, 44%) |
| HSV | hsv(234, 73%, 69%) |
| CMYK | cmyk(73.3%, 65.9%, 0%, 31%) |
| CIE-LAB | lab(31.74, 35.07, -63.11) |
| CIE-LCH | lch(31.74, 72.20, 299.06°) |
| OKLab | oklab(42.57% 0.0036 -0.1824) |
| OKLCH | oklch(42.57% 0.182 271.1) |
| XYZ | xyz(10.6220, 6.9696, 41.8513) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.73
Blue Blue
#2242C7
ΔE00 3.48
Ocean Blue
#4F42B5
ΔE00 4.44
Blueberry
#464196
ΔE00 5.25
Blue With A Hint Of Purple
#533CC6
ΔE00 5.84
Cobalt
#0047AB
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CB0 #B0A32F
analogous
#2F7CB0 #2F3CB0 #622FB0
triadic
#2F3CB0 #B02F3C #3CB02F
tetradic
#2F3CB0 #B02F7C #B0A32F #2FB062
square
#2F3CB0 #B02F7C #B0A32F #2FB062
split-complementary
#2F3CB0 #B0622F #7CB02F
monochromatic
#151B4F #222C80 #2F3CB0 #4D5ACF #7D87DC
Accessibility & contrast
On white
8.77
#2F3CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2F3CB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CB0
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CB0 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3cb0; /* rgb */ color: rgb(47, 60, 176); /* oklch */ color: oklch(42.6% 0.182 271.1);
Tailwind
colors: {
custom: {
50: '#7b72c9',
500: '#2f3cb0',
950: '#000000',
},
}SCSS
$custom: #2f3cb0; $custom-light: #7b72c9; $custom-dark: #000000;
JSON
{
"hex": "#2f3cb0",
"rgb": {
"r": 47,
"g": 60,
"b": 176
},
"hsl": {
"h": 233.953,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.42566,
"c": 0.18249,
"h": 271.1
},
"luminance": 0.06971
}Semantic roles & 50–950 ramp
primary
#2F3CB0
secondary
#C5BD76
accent
#D247E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82