#2F5190#2F5190
#2F5190 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.111 H 261.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5190 |
|---|---|
| RGB | rgb(47, 81, 144) |
| HSL | hsl(219, 51%, 37%) |
| HSV | hsv(219, 67%, 56%) |
| CMYK | cmyk(67.4%, 43.8%, 0%, 43.5%) |
| CIE-LAB | lab(35.01, 9.27, -38.54) |
| CIE-LCH | lch(35.01, 39.64, 283.53°) |
| OKLab | oklab(44.27% -0.0162 -0.11) |
| OKLCH | oklch(44.27% 0.111 261.6) |
| XYZ | xyz(9.1470, 8.5019, 27.5391) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.15
Cobalt (survey)
#1E488F
ΔE00 3.03
Denim Blue
#3B5B92
ΔE00 3.35
Light Navy Blue
#2E5A88
ΔE00 4.28
Light Navy
#155084
ΔE00 4.44
Cobalt
#0047AB
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5190 #906E2F
analogous
#2F8190 #2F5190 #3E2F90
triadic
#2F5190 #902F51 #51902F
tetradic
#2F5190 #902F81 #906E2F #2F903E
square
#2F5190 #902F81 #906E2F #2F903E
split-complementary
#2F5190 #903E2F #81902F
monochromatic
#111D34 #203762 #2F5190 #3E6BBE #6B8ECF
Accessibility & contrast
On white
7.78
#2F5190 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2F5190 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5190
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5190 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5190 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345792
Deuteranopia (green-blind)
#244E8F
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f5190; /* rgb */ color: rgb(47, 81, 144); /* oklch */ color: oklch(44.3% 0.111 261.6);
Tailwind
colors: {
custom: {
50: '#7281b1',
500: '#2f5190',
950: '#000000',
},
}SCSS
$custom: #2f5190; $custom-light: #7281b1; $custom-dark: #000000;
JSON
{
"hex": "#2f5190",
"rgb": {
"r": 47,
"g": 81,
"b": 144
},
"hsl": {
"h": 218.969,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.44268,
"c": 0.11116,
"h": 261.6
},
"luminance": 0.08503
}Semantic roles & 50–950 ramp
primary
#2F5190
secondary
#B69965
accent
#A94EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F