#2F5EA1#2F5EA1
#2F5EA1 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.4% C 0.120 H 257.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5EA1 |
|---|---|
| RGB | rgb(47, 94, 161) |
| HSL | hsl(215, 55%, 41%) |
| HSV | hsv(215, 71%, 63%) |
| CMYK | cmyk(70.8%, 41.6%, 0%, 36.9%) |
| CIE-LAB | lab(39.88, 7.17, -40.99) |
| CIE-LCH | lch(39.88, 41.61, 279.93°) |
| OKLab | oklab(48.37% -0.0257 -0.1169) |
| OKLCH | oklch(48.37% 0.12 257.6) |
| XYZ | xyz(11.6057, 11.1817, 35.2580) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.84
Denim
#1560BD
ΔE00 3.21
Light Navy Blue
#2E5A88
ΔE00 3.44
Denim (survey)
#3B638C
ΔE00 3.53
Dusk Blue
#26538D
ΔE00 4.24
Dusky Blue
#475F94
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5EA1 #A1722F
analogous
#2F97A1 #2F5EA1 #392FA1
triadic
#2F5EA1 #A12F5E #5EA12F
tetradic
#2F5EA1 #A12F97 #A1722F #2FA139
square
#2F5EA1 #A12F97 #A1722F #2FA139
split-complementary
#2F5EA1 #A1392F #97A12F
monochromatic
#132742 #214272 #2F5EA1 #457BC9 #749DD6
Accessibility & contrast
On white
6.49
#2F5EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2F5EA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5EA1
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5EA1 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F64A4
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f5ea1; /* rgb */ color: rgb(47, 94, 161); /* oklch */ color: oklch(48.4% 0.120 257.6);
Tailwind
colors: {
custom: {
50: '#758bbd',
500: '#2f5ea1',
950: '#000000',
},
}SCSS
$custom: #2f5ea1; $custom-light: #758bbd; $custom-dark: #000000;
JSON
{
"hex": "#2f5ea1",
"rgb": {
"r": 47,
"g": 94,
"b": 161
},
"hsl": {
"h": 215.263,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.48373,
"c": 0.11975,
"h": 257.6
},
"luminance": 0.11183
}Semantic roles & 50–950 ramp
primary
#2F5EA1
secondary
#BE9D6E
accent
#A14ADE
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81