#2F3E8A#2F3E8A
#2F3E8A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.127 H 271.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3E8A |
|---|---|
| RGB | rgb(47, 62, 138) |
| HSL | hsl(230, 49%, 36%) |
| HSV | hsv(230, 66%, 54%) |
| CMYK | cmyk(65.9%, 55.1%, 0%, 45.9%) |
| CIE-LAB | lab(29.12, 19.80, -44.32) |
| CIE-LCH | lch(29.12, 48.54, 294.08°) |
| OKLab | oklab(39.65% 0.0024 -0.1273) |
| OKLCH | oklch(39.65% 0.127 271.1) |
| XYZ | xyz(7.4808, 5.8839, 24.7813) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.38
Darkslateblue
#483D8B
ΔE00 5.08
Cobalt (survey)
#1E488F
ΔE00 5.09
Sapphire (survey)
#2138AB
ΔE00 5.60
Darkish Blue
#014182
ΔE00 6.09
Cobalt
#0047AB
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3E8A #8A7B2F
analogous
#2F6C8A #2F3E8A #4E2F8A
triadic
#2F3E8A #8A2F3E #3E8A2F
tetradic
#2F3E8A #8A2F6C #8A7B2F #2F8A4E
square
#2F3E8A #8A2F6C #8A7B2F #2F8A4E
split-complementary
#2F3E8A #8A4E2F #6C8A2F
monochromatic
#10152F #1F295C #2F3E8A #3F53B8 #6878CC
Accessibility & contrast
On white
9.65
#2F3E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2F3E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3E8A
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3E8A | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A498D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f3e8a; /* rgb */ color: rgb(47, 62, 138); /* oklch */ color: oklch(39.6% 0.127 271.1);
Tailwind
colors: {
custom: {
50: '#7273ad',
500: '#2f3e8a',
950: '#000000',
},
}SCSS
$custom: #2f3e8a; $custom-light: #7273ad; $custom-dark: #000000;
JSON
{
"hex": "#2f3e8a",
"rgb": {
"r": 47,
"g": 62,
"b": 138
},
"hsl": {
"h": 230.11,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.39647,
"c": 0.12728,
"h": 271.1
},
"luminance": 0.05885
}Semantic roles & 50–950 ramp
primary
#2F3E8A
secondary
#B3A562
accent
#C24FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F