#2F34B3#2F34B3
#2F34B3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.195 H 272.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2F34B3 |
|---|---|
| RGB | rgb(47, 52, 179) |
| HSL | hsl(238, 58%, 44%) |
| HSV | hsv(238, 74%, 70%) |
| CMYK | cmyk(73.7%, 70.9%, 0%, 29.8%) |
| CIE-LAB | lab(30.19, 41.07, -67.44) |
| CIE-LCH | lch(30.19, 78.96, 301.34°) |
| OKLab | oklab(41.53% 0.0081 -0.1951) |
| OKLCH | oklch(41.53% 0.195 272.4) |
| XYZ | xyz(10.5342, 6.3139, 43.3026) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.46
Blue Blue
#2242C7
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 5.10
Blue With A Hint Of Purple
#533CC6
ΔE00 5.55
Indigo Blue
#3A18B1
ΔE00 5.95
Blurple
#5539CC
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F34B3 #B3AE2F
analogous
#2F76B3 #2F34B3 #6C2FB3
triadic
#2F34B3 #B32F34 #34B32F
tetradic
#2F34B3 #B32F76 #B3AE2F #2FB36C
square
#2F34B3 #B32F76 #B3AE2F #2FB36C
split-complementary
#2F34B3 #B36C2F #76B32F
monochromatic
#161852 #222683 #2F34B3 #4F53D1 #7F83DD
Accessibility & contrast
On white
9.28
#2F34B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2F34B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F34B3
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F34B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F34B3 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f34b3; /* rgb */ color: rgb(47, 52, 179); /* oklch */ color: oklch(41.5% 0.195 272.4);
Tailwind
colors: {
custom: {
50: '#7c6ccb',
500: '#2f34b3',
950: '#000000',
},
}SCSS
$custom: #2f34b3; $custom-light: #7c6ccb; $custom-dark: #000000;
JSON
{
"hex": "#2f34b3",
"rgb": {
"r": 47,
"g": 52,
"b": 179
},
"hsl": {
"h": 237.727,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.41531,
"c": 0.19528,
"h": 272.4
},
"luminance": 0.06315
}Semantic roles & 50–950 ramp
primary
#2F34B3
secondary
#C6C378
accent
#DC46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82