#2F4588#2F4588
#2F4588 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.0% C 0.115 H 267.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4588 |
|---|---|
| RGB | rgb(47, 69, 136) |
| HSL | hsl(225, 49%, 36%) |
| HSV | hsv(225, 65%, 53%) |
| CMYK | cmyk(65.4%, 49.3%, 0%, 46.7%) |
| CIE-LAB | lab(30.97, 14.30, -40.10) |
| CIE-LCH | lch(30.97, 42.58, 289.63°) |
| OKLab | oklab(41% -0.005 -0.1147) |
| OKLCH | oklch(41% 0.115 267.5) |
| XYZ | xyz(7.7428, 6.6375, 24.1609) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.07
Darkish Blue
#014182
ΔE00 4.80
Twilight Blue
#0A437A
ΔE00 5.43
Cobalt
#0047AB
ΔE00 5.54
Blueberry
#464196
ΔE00 5.82
Dusk Blue
#26538D
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4588 #88722F
analogous
#2F7188 #2F4588 #452F88
triadic
#2F4588 #882F45 #45882F
tetradic
#2F4588 #882F71 #88722F #2F8845
square
#2F4588 #882F71 #88722F #2F8845
split-complementary
#2F4588 #88452F #71882F
monochromatic
#10172D #1F2E5B #2F4588 #3F5CB5 #6780CA
Accessibility & contrast
On white
9.02
#2F4588 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F4588 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4588
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4588 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4588 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234D8A
Deuteranopia (green-blind)
#114587
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4588; /* rgb */ color: rgb(47, 69, 136); /* oklch */ color: oklch(41.0% 0.115 267.5);
Tailwind
colors: {
custom: {
50: '#7178ab',
500: '#2f4588',
950: '#000000',
},
}SCSS
$custom: #2f4588; $custom-light: #7178ab; $custom-dark: #000000;
JSON
{
"hex": "#2f4588",
"rgb": {
"r": 47,
"g": 69,
"b": 136
},
"hsl": {
"h": 225.169,
"s": 48.634,
"l": 35.882
},
"oklch": {
"l": 0.41003,
"c": 0.11486,
"h": 267.5
},
"luminance": 0.06638
}Semantic roles & 50–950 ramp
primary
#2F4588
secondary
#B19E61
accent
#B650D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F