#2F41AE#2F41AE
#2F41AE is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.174 H 270.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41AE |
|---|---|
| RGB | rgb(47, 65, 174) |
| HSL | hsl(231, 57%, 43%) |
| HSV | hsv(231, 73%, 68%) |
| CMYK | cmyk(73%, 62.6%, 0%, 31.8%) |
| CIE-LAB | lab(32.79, 31.13, -60.20) |
| CIE-LCH | lch(32.79, 67.77, 297.35°) |
| OKLab | oklab(43.28% 0.0004 -0.1739) |
| OKLCH | oklch(43.28% 0.174 270.1) |
| XYZ | xyz(10.7000, 7.4398, 40.9083) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.69
Blue Blue
#2242C7
ΔE00 3.29
Cobalt
#0047AB
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 4.68
Blueberry
#464196
ΔE00 5.01
Blue (survey)
#0343DF
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41AE #AE9C2F
analogous
#2F80AE #2F41AE #5C2FAE
triadic
#2F41AE #AE2F41 #41AE2F
tetradic
#2F41AE #AE2F80 #AE9C2F #2FAE5C
square
#2F41AE #AE2F80 #AE9C2F #2FAE5C
split-complementary
#2F41AE #AE5C2F #80AE2F
monochromatic
#151D4E #222F7E #2F41AE #4C5ECF #7C89DC
Accessibility & contrast
On white
8.44
#2F41AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2F41AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41AE
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41AE | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f41ae; /* rgb */ color: rgb(47, 65, 174); /* oklch */ color: oklch(43.3% 0.174 270.1);
Tailwind
colors: {
custom: {
50: '#7a75c7',
500: '#2f41ae',
950: '#000000',
},
}SCSS
$custom: #2f41ae; $custom-light: #7a75c7; $custom-dark: #000000;
JSON
{
"hex": "#2f41ae",
"rgb": {
"r": 47,
"g": 65,
"b": 174
},
"hsl": {
"h": 231.496,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.43283,
"c": 0.17388,
"h": 270.1
},
"luminance": 0.07441
}Semantic roles & 50–950 ramp
primary
#2F41AE
secondary
#C4B975
accent
#CB47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82