#2F5BAE#2F5BAE
#2F5BAE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.141 H 261.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5BAE |
|---|---|
| RGB | rgb(47, 91, 174) |
| HSL | hsl(219, 57%, 43%) |
| HSV | hsv(219, 73%, 68%) |
| CMYK | cmyk(73%, 47.7%, 0%, 31.8%) |
| CIE-LAB | lab(39.82, 14.02, -48.80) |
| CIE-LCH | lch(39.82, 50.77, 286.03°) |
| OKLab | oklab(48.58% -0.0205 -0.14) |
| OKLCH | oklch(48.58% 0.141 261.7) |
| XYZ | xyz(12.5506, 11.1412, 41.5252) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.15
Sapphire
#0F52BA
ΔE00 3.39
Denim Blue
#3B5B92
ΔE00 3.64
Dusky Blue
#475F94
ΔE00 4.81
Dusk Blue
#26538D
ΔE00 4.94
Light Navy Blue
#2E5A88
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5BAE #AE822F
analogous
#2F9AAE #2F5BAE #432FAE
triadic
#2F5BAE #AE2F5B #5BAE2F
tetradic
#2F5BAE #AE2F9A #AE822F #2FAE43
square
#2F5BAE #AE2F9A #AE822F #2FAE43
split-complementary
#2F5BAE #AE432F #9AAE2F
monochromatic
#15294E #22427E #2F5BAE #4C79CF #7C9DDC
Accessibility & contrast
On white
6.50
#2F5BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2F5BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5BAE
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5BAE | 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)
#2E64B1
Deuteranopia (green-blind)
#0D58AC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f5bae; /* rgb */ color: rgb(47, 91, 174); /* oklch */ color: oklch(48.6% 0.141 261.7);
Tailwind
colors: {
custom: {
50: '#7888c7',
500: '#2f5bae',
950: '#000000',
},
}SCSS
$custom: #2f5bae; $custom-light: #7888c7; $custom-dark: #000000;
JSON
{
"hex": "#2f5bae",
"rgb": {
"r": 47,
"g": 91,
"b": 174
},
"hsl": {
"h": 219.213,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.48581,
"c": 0.14146,
"h": 261.7
},
"luminance": 0.11143
}Semantic roles & 50–950 ramp
primary
#2F5BAE
secondary
#C4A975
accent
#AB47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82