#2F35B2#2F35B2
#2F35B2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.193 H 272.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2F35B2 |
|---|---|
| RGB | rgb(47, 53, 178) |
| HSL | hsl(237, 58%, 44%) |
| HSV | hsv(237, 74%, 70%) |
| CMYK | cmyk(73.6%, 70.2%, 0%, 30.2%) |
| CIE-LAB | lab(30.31, 40.13, -66.64) |
| CIE-LCH | lch(30.31, 77.79, 301.05°) |
| OKLab | oklab(41.59% 0.0076 -0.1928) |
| OKLCH | oklch(41.59% 0.193 272.3) |
| XYZ | xyz(10.4786, 6.3638, 42.7869) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.21
Blue Blue
#2242C7
ΔE00 4.63
Ocean Blue
#4F42B5
ΔE00 4.99
Blue With A Hint Of Purple
#533CC6
ΔE00 5.59
Blurple
#5539CC
ΔE00 6.15
Blueberry
#464196
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F35B2 #B2AC2F
analogous
#2F77B2 #2F35B2 #6B2FB2
triadic
#2F35B2 #B22F35 #35B22F
tetradic
#2F35B2 #B22F77 #B2AC2F #2FB26B
square
#2F35B2 #B22F77 #B2AC2F #2FB26B
split-complementary
#2F35B2 #B26B2F #77B22F
monochromatic
#151851 #222782 #2F35B2 #4E54D0 #7E83DD
Accessibility & contrast
On white
9.24
#2F35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2F35B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F35B2
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F35B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F35B2 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f35b2; /* rgb */ color: rgb(47, 53, 178); /* oklch */ color: oklch(41.6% 0.193 272.3);
Tailwind
colors: {
custom: {
50: '#7c6dca',
500: '#2f35b2',
950: '#000000',
},
}SCSS
$custom: #2f35b2; $custom-light: #7c6dca; $custom-dark: #000000;
JSON
{
"hex": "#2f35b2",
"rgb": {
"r": 47,
"g": 53,
"b": 178
},
"hsl": {
"h": 237.252,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.41589,
"c": 0.19294,
"h": 272.3
},
"luminance": 0.06365
}Semantic roles & 50–950 ramp
primary
#2F35B2
secondary
#C6C277
accent
#DA46E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82