#2F4486#2F4486
#2F4486 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.113 H 267.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4486 |
|---|---|
| RGB | rgb(47, 68, 134) |
| HSL | hsl(226, 48%, 35%) |
| HSV | hsv(226, 65%, 53%) |
| CMYK | cmyk(64.9%, 49.3%, 0%, 47.5%) |
| CIE-LAB | lab(30.54, 14.24, -39.55) |
| CIE-LCH | lch(30.54, 42.03, 289.80°) |
| OKLab | oklab(40.64% -0.0042 -0.1131) |
| OKLCH | oklch(40.64% 0.113 267.8) |
| XYZ | xyz(7.5410, 6.4591, 23.3990) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.37
Darkish Blue
#014182
ΔE00 4.84
Twilight Blue
#0A437A
ΔE00 5.47
Blueberry
#464196
ΔE00 5.79
Cobalt
#0047AB
ΔE00 5.88
Dusk Blue
#26538D
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4486 #86712F
analogous
#2F6F86 #2F4486 #452F86
triadic
#2F4486 #862F44 #44862F
tetradic
#2F4486 #862F6F #86712F #2F8645
square
#2F4486 #862F6F #86712F #2F8645
split-complementary
#2F4486 #86452F #6F862F
monochromatic
#0F162B #1F2D59 #2F4486 #3F5BB3 #667EC9
Accessibility & contrast
On white
9.16
#2F4486 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2F4486 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4486
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4486 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4486 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224C88
Deuteranopia (green-blind)
#124485
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4486; /* rgb */ color: rgb(47, 68, 134); /* oklch */ color: oklch(40.6% 0.113 267.8);
Tailwind
colors: {
custom: {
50: '#7177aa',
500: '#2f4486',
950: '#000000',
},
}SCSS
$custom: #2f4486; $custom-light: #7177aa; $custom-dark: #000000;
JSON
{
"hex": "#2f4486",
"rgb": {
"r": 47,
"g": 68,
"b": 134
},
"hsl": {
"h": 225.517,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.40636,
"c": 0.11322,
"h": 267.8
},
"luminance": 0.0646
}Semantic roles & 50–950 ramp
primary
#2F4486
secondary
#B09D60
accent
#B750D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F