#2F4595#2F4595
#2F4595 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.134 H 268.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4595 |
|---|---|
| RGB | rgb(47, 69, 149) |
| HSL | hsl(227, 52%, 38%) |
| HSV | hsv(227, 68%, 58%) |
| CMYK | cmyk(68.5%, 53.7%, 0%, 41.6%) |
| CIE-LAB | lab(31.87, 19.18, -46.62) |
| CIE-LCH | lch(31.87, 50.41, 292.37°) |
| OKLab | oklab(41.98% -0.0035 -0.1339) |
| OKLCH | oklch(41.98% 0.134 268.5) |
| XYZ | xyz(8.7234, 7.0297, 29.3251) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.41
Cobalt
#0047AB
ΔE00 4.19
Blueberry
#464196
ΔE00 4.87
Sapphire (survey)
#2138AB
ΔE00 5.57
Darkish Blue
#014182
ΔE00 5.66
Dusk Blue
#26538D
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4595 #957F2F
analogous
#2F7895 #2F4595 #4C2F95
triadic
#2F4595 #952F45 #45952F
tetradic
#2F4595 #952F78 #957F2F #2F954C
square
#2F4595 #952F78 #957F2F #2F954C
split-complementary
#2F4595 #954C2F #78952F
monochromatic
#121A38 #202F66 #2F4595 #3F5BC2 #6D83D1
Accessibility & contrast
On white
8.73
#2F4595 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2F4595 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4595
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4595 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4595 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#115098
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f4595; /* rgb */ color: rgb(47, 69, 149); /* oklch */ color: oklch(42.0% 0.134 268.5);
Tailwind
colors: {
custom: {
50: '#7478b5',
500: '#2f4595',
950: '#000000',
},
}SCSS
$custom: #2f4595; $custom-light: #7478b5; $custom-dark: #000000;
JSON
{
"hex": "#2f4595",
"rgb": {
"r": 47,
"g": 69,
"b": 149
},
"hsl": {
"h": 227.059,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.41982,
"c": 0.13396,
"h": 268.5
},
"luminance": 0.07031
}Semantic roles & 50–950 ramp
primary
#2F4595
secondary
#B8A767
accent
#BD4CDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80