#2F35A8#2F35A8
#2F35A8 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.180 H 272.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F35A8 |
|---|---|
| RGB | rgb(47, 53, 168) |
| HSL | hsl(237, 56%, 42%) |
| HSV | hsv(237, 72%, 66%) |
| CMYK | cmyk(72%, 68.5%, 0%, 34.1%) |
| CIE-LAB | lab(29.35, 36.64, -62.23) |
| CIE-LCH | lch(29.35, 72.22, 300.49°) |
| OKLab | oklab(40.61% 0.0088 -0.1799) |
| OKLCH | oklch(40.61% 0.18 272.8) |
| XYZ | xyz(9.5109, 5.9768, 37.6906) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.78
Blueberry
#464196
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.48
Indigo Blue
#3A18B1
ΔE00 6.55
Darkslateblue
#483D8B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F35A8 #A8A22F
analogous
#2F71A8 #2F35A8 #662FA8
triadic
#2F35A8 #A82F35 #35A82F
tetradic
#2F35A8 #A82F71 #A8A22F #2FA866
square
#2F35A8 #A82F71 #A8A22F #2FA866
split-complementary
#2F35A8 #A8662F #71A82F
monochromatic
#141748 #222678 #2F35A8 #484FCC #787DD9
Accessibility & contrast
On white
9.56
#2F35A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2F35A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F35A8
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F35A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F35A8 | 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)
#004BAC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f35a8; /* rgb */ color: rgb(47, 53, 168); /* oklch */ color: oklch(40.6% 0.180 272.8);
Tailwind
colors: {
custom: {
50: '#796dc3',
500: '#2f35a8',
950: '#000000',
},
}SCSS
$custom: #2f35a8; $custom-light: #796dc3; $custom-dark: #000000;
JSON
{
"hex": "#2f35a8",
"rgb": {
"r": 47,
"g": 53,
"b": 168
},
"hsl": {
"h": 237.025,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.40606,
"c": 0.18012,
"h": 272.8
},
"luminance": 0.05978
}Semantic roles & 50–950 ramp
primary
#2F35A8
secondary
#C1BD71
accent
#D848E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82