#2F4495#2F4495
#2F4495 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.135 H 268.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4495 |
|---|---|
| RGB | rgb(47, 68, 149) |
| HSL | hsl(228, 52%, 38%) |
| HSV | hsv(228, 68%, 58%) |
| CMYK | cmyk(68.5%, 54.4%, 0%, 41.6%) |
| CIE-LAB | lab(31.60, 19.86, -47.07) |
| CIE-LCH | lch(31.60, 51.08, 292.87°) |
| OKLab | oklab(41.77% -0.0026 -0.1352) |
| OKLCH | oklch(41.77% 0.135 268.9) |
| XYZ | xyz(8.6624, 6.9077, 29.3048) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.67
Cobalt
#0047AB
ΔE00 4.32
Blueberry
#464196
ΔE00 4.65
Sapphire (survey)
#2138AB
ΔE00 5.30
Darkish Blue
#014182
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4495 #95802F
analogous
#2F7795 #2F4495 #4D2F95
triadic
#2F4495 #952F44 #44952F
tetradic
#2F4495 #952F77 #95802F #2F954D
square
#2F4495 #952F77 #95802F #2F954D
split-complementary
#2F4495 #954D2F #77952F
monochromatic
#121A38 #202F66 #2F4495 #3F5AC2 #6D82D1
Accessibility & contrast
On white
8.82
#2F4495 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2F4495 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4495
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4495 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4495 | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C4F98
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f4495; /* rgb */ color: rgb(47, 68, 149); /* oklch */ color: oklch(41.8% 0.135 268.9);
Tailwind
colors: {
custom: {
50: '#7477b5',
500: '#2f4495',
950: '#000000',
},
}SCSS
$custom: #2f4495; $custom-light: #7477b5; $custom-dark: #000000;
JSON
{
"hex": "#2f4495",
"rgb": {
"r": 47,
"g": 68,
"b": 149
},
"hsl": {
"h": 227.647,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.41771,
"c": 0.13527,
"h": 268.9
},
"luminance": 0.06909
}Semantic roles & 50–950 ramp
primary
#2F4495
secondary
#B8A867
accent
#BE4CDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80