#2F377C#2F377C
#2F377C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.1% C 0.116 H 274.3°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2F377C |
|---|---|
| RGB | rgb(47, 55, 124) |
| HSL | hsl(234, 45%, 34%) |
| HSV | hsv(234, 62%, 49%) |
| CMYK | cmyk(62.1%, 55.6%, 0%, 51.4%) |
| CIE-LAB | lab(26.13, 19.40, -40.41) |
| CIE-LCH | lch(26.13, 44.82, 295.65°) |
| OKLab | oklab(37.07% 0.0087 -0.1158) |
| OKLCH | oklch(37.07% 0.116 274.3) |
| XYZ | xyz(6.1754, 4.7915, 19.6643) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.01
Blueberry
#464196
ΔE00 5.64
Marine
#042E60
ΔE00 7.09
Sapphire (survey)
#2138AB
ΔE00 7.35
Cobalt (survey)
#1E488F
ΔE00 7.52
Marine Blue
#01386A
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F377C #7C742F
analogous
#2F5D7C #2F377C #4D2F7C
triadic
#2F377C #7C2F37 #377C2F
tetradic
#2F377C #7C2F5D #7C742F #2F7C4D
square
#2F377C #7C2F5D #7C742F #2F7C4D
split-complementary
#2F377C #7C4D2F #5D7C2F
monochromatic
#0D1023 #1E2350 #2F377C #404BA8 #626CC3
Accessibility & contrast
On white
10.72
#2F377C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2F377C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F377C
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F377C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F377C | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B417E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f377c; /* rgb */ color: rgb(47, 55, 124); /* oklch */ color: oklch(37.1% 0.116 274.3);
Tailwind
colors: {
custom: {
50: '#706da2',
500: '#2f377c',
950: '#000000',
},
}SCSS
$custom: #2f377c; $custom-light: #706da2; $custom-dark: #000000;
JSON
{
"hex": "#2f377c",
"rgb": {
"r": 47,
"g": 55,
"b": 124
},
"hsl": {
"h": 233.766,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.37074,
"c": 0.11616,
"h": 274.3
},
"luminance": 0.04792
}Semantic roles & 50–950 ramp
primary
#2F377C
secondary
#AAA25C
accent
#C753D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F