#2F35B3#2F35B3
#2F35B3 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.194 H 272.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2F35B3 |
|---|---|
| RGB | rgb(47, 53, 179) |
| HSL | hsl(237, 58%, 44%) |
| HSV | hsv(237, 74%, 70%) |
| CMYK | cmyk(73.7%, 70.4%, 0%, 29.8%) |
| CIE-LAB | lab(30.41, 40.47, -67.08) |
| CIE-LCH | lch(30.41, 78.34, 301.11°) |
| OKLab | oklab(41.69% 0.0075 -0.1941) |
| OKLCH | oklch(41.69% 0.194 272.2) |
| XYZ | xyz(10.5793, 6.4041, 43.3177) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.29
Blue Blue
#2242C7
ΔE00 4.56
Ocean Blue
#4F42B5
ΔE00 4.96
Blue With A Hint Of Purple
#533CC6
ΔE00 5.51
Blurple
#5539CC
ΔE00 6.06
Indigo Blue
#3A18B1
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F35B3 #B3AD2F
analogous
#2F77B3 #2F35B3 #6B2FB3
triadic
#2F35B3 #B32F35 #35B32F
tetradic
#2F35B3 #B32F77 #B3AD2F #2FB36B
square
#2F35B3 #B32F77 #B3AD2F #2FB36B
split-complementary
#2F35B3 #B36B2F #77B32F
monochromatic
#161852 #222783 #2F35B3 #4F54D1 #7F83DD
Accessibility & contrast
On white
9.21
#2F35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2F35B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F35B3
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F35B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F35B3 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f35b3; /* rgb */ color: rgb(47, 53, 179); /* oklch */ color: oklch(41.7% 0.194 272.2);
Tailwind
colors: {
custom: {
50: '#7c6dcb',
500: '#2f35b3',
950: '#000000',
},
}SCSS
$custom: #2f35b3; $custom-light: #7c6dcb; $custom-dark: #000000;
JSON
{
"hex": "#2f35b3",
"rgb": {
"r": 47,
"g": 53,
"b": 179
},
"hsl": {
"h": 237.273,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.41689,
"c": 0.19421,
"h": 272.2
},
"luminance": 0.06405
}Semantic roles & 50–950 ramp
primary
#2F35B3
secondary
#C6C378
accent
#DB46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82