#2F377A#2F377A
#2F377A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.9% C 0.113 H 274.3°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F377A |
|---|---|
| RGB | rgb(47, 55, 122) |
| HSL | hsl(234, 44%, 33%) |
| HSV | hsv(234, 61%, 48%) |
| CMYK | cmyk(61.5%, 54.9%, 0%, 52.2%) |
| CIE-LAB | lab(25.98, 18.67, -39.38) |
| CIE-LCH | lch(25.98, 43.59, 295.36°) |
| OKLab | oklab(36.92% 0.0086 -0.1128) |
| OKLCH | oklch(36.92% 0.113 274.3) |
| XYZ | xyz(6.0502, 4.7414, 19.0049) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.18
Blueberry
#464196
ΔE00 5.88
Marine
#042E60
ΔE00 6.92
Marine Blue
#01386A
ΔE00 7.48
Cobalt (survey)
#1E488F
ΔE00 7.61
Darkish Blue
#014182
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F377A #7A722F
analogous
#2F5C7A #2F377A #4C2F7A
triadic
#2F377A #7A2F37 #377A2F
tetradic
#2F377A #7A2F5C #7A722F #2F7A4C
square
#2F377A #7A2F5C #7A722F #2F7A4C
split-complementary
#2F377A #7A4C2F #5C7A2F
monochromatic
#0D0F22 #1E234E #2F377A #404BA6 #616CC2
Accessibility & contrast
On white
10.78
#2F377A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2F377A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F377A
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F377A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F377A | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F417C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f377a; /* rgb */ color: rgb(47, 55, 122); /* oklch */ color: oklch(36.9% 0.113 274.3);
Tailwind
colors: {
custom: {
50: '#6f6da1',
500: '#2f377a',
950: '#000000',
},
}SCSS
$custom: #2f377a; $custom-light: #6f6da1; $custom-dark: #000000;
JSON
{
"hex": "#2f377a",
"rgb": {
"r": 47,
"g": 55,
"b": 122
},
"hsl": {
"h": 233.6,
"s": 44.379,
"l": 33.137
},
"oklch": {
"l": 0.36916,
"c": 0.11314,
"h": 274.3
},
"luminance": 0.04742
}Semantic roles & 50–950 ramp
primary
#2F377A
secondary
#A9A15C
accent
#C654D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F