#2F4586#2F4586
#2F4586 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.112 H 267.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4586 |
|---|---|
| RGB | rgb(47, 69, 134) |
| HSL | hsl(225, 48%, 35%) |
| HSV | hsv(225, 65%, 53%) |
| CMYK | cmyk(64.9%, 48.5%, 0%, 47.5%) |
| CIE-LAB | lab(30.83, 13.56, -39.08) |
| CIE-LCH | lch(30.83, 41.37, 289.13°) |
| OKLab | oklab(40.86% -0.0053 -0.1117) |
| OKLCH | oklch(40.86% 0.112 267.3) |
| XYZ | xyz(7.6020, 6.5811, 23.4193) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.13
Darkish Blue
#014182
ΔE00 4.73
Twilight Blue
#0A437A
ΔE00 5.30
Cobalt
#0047AB
ΔE00 5.78
Dusk Blue
#26538D
ΔE00 5.99
Blueberry
#464196
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4586 #86702F
analogous
#2F7086 #2F4586 #452F86
triadic
#2F4586 #862F45 #45862F
tetradic
#2F4586 #862F70 #86702F #2F8645
square
#2F4586 #862F70 #86702F #2F8645
split-complementary
#2F4586 #86452F #70862F
monochromatic
#0F162B #1F2E59 #2F4586 #3F5CB3 #667FC9
Accessibility & contrast
On white
9.07
#2F4586 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F4586 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4586
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4586 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4586 | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254D88
Deuteranopia (green-blind)
#154585
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4586; /* rgb */ color: rgb(47, 69, 134); /* oklch */ color: oklch(40.9% 0.112 267.3);
Tailwind
colors: {
custom: {
50: '#7178aa',
500: '#2f4586',
950: '#000000',
},
}SCSS
$custom: #2f4586; $custom-light: #7178aa; $custom-dark: #000000;
JSON
{
"hex": "#2f4586",
"rgb": {
"r": 47,
"g": 69,
"b": 134
},
"hsl": {
"h": 224.828,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.40858,
"c": 0.11188,
"h": 267.3
},
"luminance": 0.06582
}Semantic roles & 50–950 ramp
primary
#2F4586
secondary
#B09C60
accent
#B550D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F