#2F32AF#2F32AF
#2F32AF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.192 H 272.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F32AF |
|---|---|
| RGB | rgb(47, 50, 175) |
| HSL | hsl(239, 58%, 44%) |
| HSV | hsv(239, 73%, 69%) |
| CMYK | cmyk(73.1%, 71.4%, 0%, 31.4%) |
| CIE-LAB | lab(29.36, 40.90, -66.42) |
| CIE-LCH | lch(29.36, 78.00, 301.62°) |
| OKLab | oklab(40.82% 0.0097 -0.1921) |
| OKLCH | oklch(40.82% 0.192 272.9) |
| XYZ | xyz(10.0482, 5.9797, 41.1738) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.60
Indigo Blue
#3A18B1
ΔE00 5.49
Blue Blue
#2242C7
ΔE00 5.49
Ocean Blue
#4F42B5
ΔE00 5.53
Blue With A Hint Of Purple
#533CC6
ΔE00 6.04
Blueberry
#464196
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F32AF #AFAC2F
analogous
#2F72AF #2F32AF #6C2FAF
triadic
#2F32AF #AF2F32 #32AF2F
tetradic
#2F32AF #AF2F72 #AFAC2F #2FAF6C
square
#2F32AF #AF2F72 #AFAC2F #2FAF6C
split-complementary
#2F32AF #AF6C2F #72AF2F
monochromatic
#15164F #22247F #2F32AF #4C4FCF #7C7FDC
Accessibility & contrast
On white
9.56
#2F32AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2F32AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F32AF
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F32AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F32AF | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f32af; /* rgb */ color: rgb(47, 50, 175); /* oklch */ color: oklch(40.8% 0.192 272.9);
Tailwind
colors: {
custom: {
50: '#7b6bc8',
500: '#2f32af',
950: '#000000',
},
}SCSS
$custom: #2f32af; $custom-light: #7b6bc8; $custom-dark: #000000;
JSON
{
"hex": "#2f32af",
"rgb": {
"r": 47,
"g": 50,
"b": 175
},
"hsl": {
"h": 238.594,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.40816,
"c": 0.19238,
"h": 272.9
},
"luminance": 0.05981
}Semantic roles & 50–950 ramp
primary
#2F32AF
secondary
#C4C375
accent
#DD47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82