#2F44AB#2F44AB
#2F44AB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.166 H 269.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2F44AB |
|---|---|
| RGB | rgb(47, 68, 171) |
| HSL | hsl(230, 57%, 43%) |
| HSV | hsv(230, 73%, 67%) |
| CMYK | cmyk(72.5%, 60.2%, 0%, 32.9%) |
| CIE-LAB | lab(33.30, 28.07, -57.57) |
| CIE-LCH | lch(33.30, 64.05, 295.99°) |
| OKLab | oklab(43.59% -0.0018 -0.1661) |
| OKLCH | oklch(43.59% 0.166 269.4) |
| XYZ | xyz(10.5876, 7.6778, 39.4442) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.58
Blue Blue
#2242C7
ΔE00 3.79
Cobalt
#0047AB
ΔE00 3.84
Blueberry
#464196
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.24
Cobalt (survey)
#1E488F
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F44AB #AB962F
analogous
#2F82AB #2F44AB #582FAB
triadic
#2F44AB #AB2F44 #44AB2F
tetradic
#2F44AB #AB2F82 #AB962F #2FAB58
square
#2F44AB #AB2F82 #AB962F #2FAB58
split-complementary
#2F44AB #AB582F #82AB2F
monochromatic
#151E4B #22317B #2F44AB #4A60CD #7A8ADA
Accessibility & contrast
On white
8.28
#2F44AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2F44AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F44AB
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F44AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F44AB | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f44ab; /* rgb */ color: rgb(47, 68, 171); /* oklch */ color: oklch(43.6% 0.166 269.4);
Tailwind
colors: {
custom: {
50: '#7977c5',
500: '#2f44ab',
950: '#000000',
},
}SCSS
$custom: #2f44ab; $custom-light: #7977c5; $custom-dark: #000000;
JSON
{
"hex": "#2f44ab",
"rgb": {
"r": 47,
"g": 68,
"b": 171
},
"hsl": {
"h": 229.839,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.43586,
"c": 0.16614,
"h": 269.4
},
"luminance": 0.07679
}Semantic roles & 50–950 ramp
primary
#2F44AB
secondary
#C3B573
accent
#C648E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82