#2F5295#2F5295
#2F5295 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.117 H 262.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5295 |
|---|---|
| RGB | rgb(47, 82, 149) |
| HSL | hsl(219, 52%, 38%) |
| HSV | hsv(219, 68%, 58%) |
| CMYK | cmyk(68.5%, 45%, 0%, 41.6%) |
| CIE-LAB | lab(35.61, 10.49, -40.61) |
| CIE-LCH | lch(35.61, 41.94, 284.48°) |
| OKLab | oklab(44.83% -0.0163 -0.116) |
| OKLCH | oklch(44.83% 0.117 262) |
| XYZ | xyz(9.6125, 8.8079, 29.6215) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.31
Denim Blue
#3B5B92
ΔE00 3.12
Cobalt (survey)
#1E488F
ΔE00 3.35
Light Navy Blue
#2E5A88
ΔE00 4.26
Light Navy
#155084
ΔE00 4.72
Sapphire
#0F52BA
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5295 #95722F
analogous
#2F8595 #2F5295 #3F2F95
triadic
#2F5295 #952F52 #52952F
tetradic
#2F5295 #952F85 #95722F #2F953F
square
#2F5295 #952F85 #95722F #2F953F
split-complementary
#2F5295 #953F2F #85952F
monochromatic
#121F38 #203866 #2F5295 #3F6CC2 #6D90D1
Accessibility & contrast
On white
7.60
#2F5295 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2F5295 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5295
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5295 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5295 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325998
Deuteranopia (green-blind)
#204F94
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f5295; /* rgb */ color: rgb(47, 82, 149); /* oklch */ color: oklch(44.8% 0.117 262.0);
Tailwind
colors: {
custom: {
50: '#7382b4',
500: '#2f5295',
950: '#000000',
},
}SCSS
$custom: #2f5295; $custom-light: #7382b4; $custom-dark: #000000;
JSON
{
"hex": "#2f5295",
"rgb": {
"r": 47,
"g": 82,
"b": 149
},
"hsl": {
"h": 219.412,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.44834,
"c": 0.11717,
"h": 262
},
"luminance": 0.08809
}Semantic roles & 50–950 ramp
primary
#2F5295
secondary
#B89D67
accent
#AA4CDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80