#2F5EAB#2F5EAB
#2F5EAB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.0% C 0.134 H 259.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5EAB |
|---|---|
| RGB | rgb(47, 94, 171) |
| HSL | hsl(217, 57%, 43%) |
| HSV | hsv(217, 73%, 67%) |
| CMYK | cmyk(72.5%, 45%, 0%, 32.9%) |
| CIE-LAB | lab(40.49, 10.94, -45.95) |
| CIE-LCH | lch(40.49, 47.23, 283.39°) |
| OKLab | oklab(49.04% -0.0237 -0.1315) |
| OKLCH | oklch(49.04% 0.134 259.8) |
| XYZ | xyz(12.5230, 11.5487, 40.0893) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.51
Denim Blue
#3B5B92
ΔE00 3.52
Denim (survey)
#3B638C
ΔE00 4.34
Sapphire
#0F52BA
ΔE00 4.41
Light Navy Blue
#2E5A88
ΔE00 4.56
French Blue
#436BAD
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5EAB #AB7C2F
analogous
#2F9CAB #2F5EAB #3E2FAB
triadic
#2F5EAB #AB2F5E #5EAB2F
tetradic
#2F5EAB #AB2F9C #AB7C2F #2FAB3E
square
#2F5EAB #AB2F9C #AB7C2F #2FAB3E
split-complementary
#2F5EAB #AB3E2F #9CAB2F
monochromatic
#15294B #22447B #2F5EAB #4A7CCD #7A9FDA
Accessibility & contrast
On white
6.34
#2F5EAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#2F5EAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5EAB
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5EAB | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3766AE
Deuteranopia (green-blind)
#1F5AA9
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f5eab; /* rgb */ color: rgb(47, 94, 171); /* oklch */ color: oklch(49.0% 0.134 259.8);
Tailwind
colors: {
custom: {
50: '#778bc4',
500: '#2f5eab',
950: '#000000',
},
}SCSS
$custom: #2f5eab; $custom-light: #778bc4; $custom-dark: #000000;
JSON
{
"hex": "#2f5eab",
"rgb": {
"r": 47,
"g": 94,
"b": 171
},
"hsl": {
"h": 217.258,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.49036,
"c": 0.13366,
"h": 259.8
},
"luminance": 0.1155
}Semantic roles & 50–950 ramp
primary
#2F5EAB
secondary
#C3A573
accent
#A648E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82