#2F4095#2F4095
#2F4095 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.141 H 270.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4095 |
|---|---|
| RGB | rgb(47, 64, 149) |
| HSL | hsl(230, 52%, 38%) |
| HSV | hsv(230, 68%, 58%) |
| CMYK | cmyk(68.5%, 57%, 0%, 41.6%) |
| CIE-LAB | lab(30.50, 22.55, -48.85) |
| CIE-LCH | lch(30.50, 53.80, 294.78°) |
| OKLab | oklab(40.95% 0.0011 -0.1405) |
| OKLCH | oklch(40.95% 0.141 270.4) |
| XYZ | xyz(8.4287, 6.4403, 29.2268) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.33
Cobalt (survey)
#1E488F
ΔE00 4.83
Cobalt
#0047AB
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 5.41
Darkish Blue
#014182
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4095 #95842F
analogous
#2F7395 #2F4095 #512F95
triadic
#2F4095 #952F40 #40952F
tetradic
#2F4095 #952F73 #95842F #2F9551
square
#2F4095 #952F73 #95842F #2F9551
split-complementary
#2F4095 #95512F #73952F
monochromatic
#121838 #202C66 #2F4095 #3F55C2 #6D7ED1
Accessibility & contrast
On white
9.18
#2F4095 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2F4095 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4095
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4095 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4095 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4095; /* rgb */ color: rgb(47, 64, 149); /* oklch */ color: oklch(40.9% 0.141 270.4);
Tailwind
colors: {
custom: {
50: '#7474b5',
500: '#2f4095',
950: '#000000',
},
}SCSS
$custom: #2f4095; $custom-light: #7474b5; $custom-dark: #000000;
JSON
{
"hex": "#2f4095",
"rgb": {
"r": 47,
"g": 64,
"b": 149
},
"hsl": {
"h": 230,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.40945,
"c": 0.14055,
"h": 270.4
},
"luminance": 0.06441
}Semantic roles & 50–950 ramp
primary
#2F4095
secondary
#B8AB67
accent
#C44CDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80