#2F4488#2F4488
#2F4488 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.8% C 0.116 H 268.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4488 |
|---|---|
| RGB | rgb(47, 68, 136) |
| HSL | hsl(226, 49%, 36%) |
| HSV | hsv(226, 65%, 53%) |
| CMYK | cmyk(65.4%, 50%, 0%, 46.7%) |
| CIE-LAB | lab(30.68, 14.98, -40.57) |
| CIE-LCH | lch(30.68, 43.25, 290.27°) |
| OKLab | oklab(40.78% -0.004 -0.1161) |
| OKLCH | oklch(40.78% 0.116 268) |
| XYZ | xyz(7.6818, 6.5155, 24.1406) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.32
Darkish Blue
#014182
ΔE00 4.91
Blueberry
#464196
ΔE00 5.58
Twilight Blue
#0A437A
ΔE00 5.60
Cobalt
#0047AB
ΔE00 5.64
Dusk Blue
#26538D
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4488 #88732F
analogous
#2F7088 #2F4488 #462F88
triadic
#2F4488 #882F44 #44882F
tetradic
#2F4488 #882F70 #88732F #2F8846
square
#2F4488 #882F70 #88732F #2F8846
split-complementary
#2F4488 #88462F #70882F
monochromatic
#10172D #1F2D5B #2F4488 #3F5BB5 #677ECA
Accessibility & contrast
On white
9.12
#2F4488 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F4488 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4488
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4488 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4488 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#0D4487
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4488; /* rgb */ color: rgb(47, 68, 136); /* oklch */ color: oklch(40.8% 0.116 268.0);
Tailwind
colors: {
custom: {
50: '#7177ab',
500: '#2f4488',
950: '#000000',
},
}SCSS
$custom: #2f4488; $custom-light: #7177ab; $custom-dark: #000000;
JSON
{
"hex": "#2f4488",
"rgb": {
"r": 47,
"g": 68,
"b": 136
},
"hsl": {
"h": 225.843,
"s": 48.634,
"l": 35.882
},
"oklch": {
"l": 0.40782,
"c": 0.11621,
"h": 268
},
"luminance": 0.06516
}Semantic roles & 50–950 ramp
primary
#2F4488
secondary
#B19F61
accent
#B850D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F