#2F35B8#2F35B8
#2F35B8 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.2% C 0.200 H 272.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F35B8 |
|---|---|
| RGB | rgb(47, 53, 184) |
| HSL | hsl(237, 59%, 45%) |
| HSV | hsv(237, 74%, 72%) |
| CMYK | cmyk(74.5%, 71.2%, 0%, 27.8%) |
| CIE-LAB | lab(30.90, 42.19, -69.24) |
| CIE-LCH | lch(30.90, 81.08, 301.36°) |
| OKLab | oklab(42.19% 0.0068 -0.2003) |
| OKLCH | oklch(42.19% 0.2 272) |
| XYZ | xyz(11.0942, 6.6101, 46.0293) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.77
Blue Blue
#2242C7
ΔE00 4.26
Ocean Blue
#4F42B5
ΔE00 4.86
Blue With A Hint Of Purple
#533CC6
ΔE00 5.09
Blurple
#5539CC
ΔE00 5.58
Indigo Blue
#3A18B1
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F35B8 #B8B22F
analogous
#2F7AB8 #2F35B8 #6D2FB8
triadic
#2F35B8 #B82F35 #35B82F
tetradic
#2F35B8 #B82F7A #B8B22F #2FB86D
square
#2F35B8 #B82F7A #B8B22F #2FB86D
split-complementary
#2F35B8 #B86D2F #7AB82F
monochromatic
#161957 #232787 #2F35B8 #5257D3 #8286DF
Accessibility & contrast
On white
9.04
#2F35B8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F35B8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F35B8
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F35B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F35B8 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f35b8; /* rgb */ color: rgb(47, 53, 184); /* oklch */ color: oklch(42.2% 0.200 272.0);
Tailwind
colors: {
custom: {
50: '#7d6dcf',
500: '#2f35b8',
950: '#000000',
},
}SCSS
$custom: #2f35b8; $custom-light: #7d6dcf; $custom-dark: #000000;
JSON
{
"hex": "#2f35b8",
"rgb": {
"r": 47,
"g": 53,
"b": 184
},
"hsl": {
"h": 237.372,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.42191,
"c": 0.20047,
"h": 272
},
"luminance": 0.06611
}Semantic roles & 50–950 ramp
primary
#2F35B8
secondary
#C8C57B
accent
#DC45E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82