#2F5EA0#2F5EA0
#2F5EA0 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.3% C 0.118 H 257.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5EA0 |
|---|---|
| RGB | rgb(47, 94, 160) |
| HSL | hsl(215, 55%, 41%) |
| HSV | hsv(215, 71%, 63%) |
| CMYK | cmyk(70.6%, 41.3%, 0%, 37.3%) |
| CIE-LAB | lab(39.83, 6.80, -40.48) |
| CIE-LCH | lch(39.83, 41.05, 279.53°) |
| OKLab | oklab(48.31% -0.026 -0.1155) |
| OKLCH | oklch(48.31% 0.118 257.3) |
| XYZ | xyz(11.5179, 11.1466, 34.7954) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.80
Denim
#1560BD
ΔE00 3.30
Light Navy Blue
#2E5A88
ΔE00 3.33
Denim (survey)
#3B638C
ΔE00 3.45
Dusk Blue
#26538D
ΔE00 4.17
Dusky Blue
#475F94
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5EA0 #A0712F
analogous
#2F96A0 #2F5EA0 #382FA0
triadic
#2F5EA0 #A02F5E #5EA02F
tetradic
#2F5EA0 #A02F96 #A0712F #2FA038
square
#2F5EA0 #A02F96 #A0712F #2FA038
split-complementary
#2F5EA0 #A0382F #96A02F
monochromatic
#132641 #214271 #2F5EA0 #447BC8 #739CD6
Accessibility & contrast
On white
6.50
#2F5EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2F5EA0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5EA0
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5EA0 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F64A3
Deuteranopia (green-blind)
#2D599F
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f5ea0; /* rgb */ color: rgb(47, 94, 160); /* oklch */ color: oklch(48.3% 0.118 257.3);
Tailwind
colors: {
custom: {
50: '#758bbc',
500: '#2f5ea0',
950: '#000000',
},
}SCSS
$custom: #2f5ea0; $custom-light: #758bbc; $custom-dark: #000000;
JSON
{
"hex": "#2f5ea0",
"rgb": {
"r": 47,
"g": 94,
"b": 160
},
"hsl": {
"h": 215.044,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.48308,
"c": 0.11837,
"h": 257.3
},
"luminance": 0.11148
}Semantic roles & 50–950 ramp
primary
#2F5EA0
secondary
#BE9C6D
accent
#A04ADE
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81