#2F41AB#2F41AB
#2F41AB is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.170 H 270.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41AB |
|---|---|
| RGB | rgb(47, 65, 171) |
| HSL | hsl(231, 57%, 43%) |
| HSV | hsv(231, 73%, 67%) |
| CMYK | cmyk(72.5%, 62%, 0%, 32.9%) |
| CIE-LAB | lab(32.53, 30.03, -58.82) |
| CIE-LCH | lch(32.53, 66.05, 297.05°) |
| OKLab | oklab(43.02% 0.0005 -0.1698) |
| OKLCH | oklch(43.02% 0.17 270.2) |
| XYZ | xyz(10.4108, 7.3241, 39.3852) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.69
Blue Blue
#2242C7
ΔE00 3.70
Cobalt
#0047AB
ΔE00 4.50
Blueberry
#464196
ΔE00 4.76
Ocean Blue
#4F42B5
ΔE00 4.89
Cobalt (survey)
#1E488F
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41AB #AB992F
analogous
#2F7FAB #2F41AB #5B2FAB
triadic
#2F41AB #AB2F41 #41AB2F
tetradic
#2F41AB #AB2F7F #AB992F #2FAB5B
square
#2F41AB #AB2F7F #AB992F #2FAB5B
split-complementary
#2F41AB #AB5B2F #7FAB2F
monochromatic
#151D4B #222F7B #2F41AB #4A5DCD #7A88DA
Accessibility & contrast
On white
8.52
#2F41AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2F41AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41AB
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41AB | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f41ab; /* rgb */ color: rgb(47, 65, 171); /* oklch */ color: oklch(43.0% 0.170 270.2);
Tailwind
colors: {
custom: {
50: '#7975c5',
500: '#2f41ab',
950: '#000000',
},
}SCSS
$custom: #2f41ab; $custom-light: #7975c5; $custom-dark: #000000;
JSON
{
"hex": "#2f41ab",
"rgb": {
"r": 47,
"g": 65,
"b": 171
},
"hsl": {
"h": 231.29,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.43016,
"c": 0.16984,
"h": 270.2
},
"luminance": 0.07325
}Semantic roles & 50–950 ramp
primary
#2F41AB
secondary
#C3B773
accent
#CA48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82