#2F3CB3#2F3CB3
#2F3CB3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.186 H 271.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CB3 |
|---|---|
| RGB | rgb(47, 60, 179) |
| HSL | hsl(234, 58%, 44%) |
| HSV | hsv(234, 74%, 70%) |
| CMYK | cmyk(73.7%, 66.5%, 0%, 29.8%) |
| CIE-LAB | lab(32.01, 36.15, -64.45) |
| CIE-LCH | lch(32.01, 73.89, 299.29°) |
| OKLab | oklab(42.85% 0.0034 -0.1864) |
| OKLCH | oklch(42.85% 0.186 271.1) |
| XYZ | xyz(10.9221, 7.0896, 43.4319) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.97
Blue Blue
#2242C7
ΔE00 3.16
Ocean Blue
#4F42B5
ΔE00 4.31
Blueberry
#464196
ΔE00 5.54
Blue With A Hint Of Purple
#533CC6
ΔE00 5.55
Blue (survey)
#0343DF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CB3 #B3A62F
analogous
#2F7EB3 #2F3CB3 #642FB3
triadic
#2F3CB3 #B32F3C #3CB32F
tetradic
#2F3CB3 #B32F7E #B3A62F #2FB364
square
#2F3CB3 #B32F7E #B3A62F #2FB364
split-complementary
#2F3CB3 #B3642F #7EB32F
monochromatic
#161C52 #222C83 #2F3CB3 #4F5BD1 #7F88DD
Accessibility & contrast
On white
8.68
#2F3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2F3CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CB3
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CB3 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3cb3; /* rgb */ color: rgb(47, 60, 179); /* oklch */ color: oklch(42.8% 0.186 271.1);
Tailwind
colors: {
custom: {
50: '#7b72cb',
500: '#2f3cb3',
950: '#000000',
},
}SCSS
$custom: #2f3cb3; $custom-light: #7b72cb; $custom-dark: #000000;
JSON
{
"hex": "#2f3cb3",
"rgb": {
"r": 47,
"g": 60,
"b": 179
},
"hsl": {
"h": 234.091,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.42848,
"c": 0.18639,
"h": 271.1
},
"luminance": 0.07091
}Semantic roles & 50–950 ramp
primary
#2F3CB3
secondary
#C6BE78
accent
#D246E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82