#2F34AF#2F34AF
#2F34AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.190 H 272.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F34AF |
|---|---|
| RGB | rgb(47, 52, 175) |
| HSL | hsl(238, 58%, 44%) |
| HSV | hsv(238, 73%, 69%) |
| CMYK | cmyk(73.1%, 70.3%, 0%, 31.4%) |
| CIE-LAB | lab(29.80, 39.70, -65.70) |
| CIE-LCH | lch(29.80, 76.76, 301.14°) |
| OKLab | oklab(41.13% 0.0086 -0.19) |
| OKLCH | oklch(41.13% 0.19 272.6) |
| XYZ | xyz(10.1355, 6.1544, 41.2029) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.18
Blue Blue
#2242C7
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.23
Blue With A Hint Of Purple
#533CC6
ΔE00 5.91
Indigo Blue
#3A18B1
ΔE00 6.02
Blueberry
#464196
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F34AF #AFAA2F
analogous
#2F74AF #2F34AF #6A2FAF
triadic
#2F34AF #AF2F34 #34AF2F
tetradic
#2F34AF #AF2F74 #AFAA2F #2FAF6A
square
#2F34AF #AF2F74 #AFAA2F #2FAF6A
split-complementary
#2F34AF #AF6A2F #74AF2F
monochromatic
#15174F #22267F #2F34AF #4C51CF #7C80DC
Accessibility & contrast
On white
9.41
#2F34AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2F34AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F34AF
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F34AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F34AF | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f34af; /* rgb */ color: rgb(47, 52, 175); /* oklch */ color: oklch(41.1% 0.190 272.6);
Tailwind
colors: {
custom: {
50: '#7b6cc8',
500: '#2f34af',
950: '#000000',
},
}SCSS
$custom: #2f34af; $custom-light: #7b6cc8; $custom-dark: #000000;
JSON
{
"hex": "#2f34af",
"rgb": {
"r": 47,
"g": 52,
"b": 175
},
"hsl": {
"h": 237.656,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.41131,
"c": 0.19022,
"h": 272.6
},
"luminance": 0.06155
}Semantic roles & 50–950 ramp
primary
#2F34AF
secondary
#C4C175
accent
#DB47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82