#2F4086#2F4086
#2F4086 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.8% C 0.119 H 270.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4086 |
|---|---|
| RGB | rgb(47, 64, 134) |
| HSL | hsl(228, 48%, 35%) |
| HSV | hsv(228, 65%, 53%) |
| CMYK | cmyk(64.9%, 52.2%, 0%, 47.5%) |
| CIE-LAB | lab(29.39, 16.95, -41.40) |
| CIE-LCH | lch(29.39, 44.74, 292.27°) |
| OKLab | oklab(39.76% 0 -0.1186) |
| OKLCH | oklch(39.76% 0.119 270) |
| XYZ | xyz(7.3073, 5.9917, 23.3211) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.49
Blueberry
#464196
ΔE00 5.02
Darkish Blue
#014182
ΔE00 5.50
Darkslateblue
#483D8B
ΔE00 5.64
Twilight Blue
#0A437A
ΔE00 6.30
Cobalt
#0047AB
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4086 #86752F
analogous
#2F6B86 #2F4086 #492F86
triadic
#2F4086 #862F40 #40862F
tetradic
#2F4086 #862F6B #86752F #2F8649
square
#2F4086 #862F6B #86752F #2F8649
split-complementary
#2F4086 #86492F #6B862F
monochromatic
#0F152B #1F2A59 #2F4086 #3F56B3 #6679C9
Accessibility & contrast
On white
9.55
#2F4086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2F4086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4086
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4086 | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194989
Deuteranopia (green-blind)
#014285
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f4086; /* rgb */ color: rgb(47, 64, 134); /* oklch */ color: oklch(39.8% 0.119 270.0);
Tailwind
colors: {
custom: {
50: '#7174aa',
500: '#2f4086',
950: '#000000',
},
}SCSS
$custom: #2f4086; $custom-light: #7174aa; $custom-dark: #000000;
JSON
{
"hex": "#2f4086",
"rgb": {
"r": 47,
"g": 64,
"b": 134
},
"hsl": {
"h": 228.276,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.39762,
"c": 0.11864,
"h": 270
},
"luminance": 0.05992
}Semantic roles & 50–950 ramp
primary
#2F4086
secondary
#B0A160
accent
#BD50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F