#2F5AB1#2F5AB1
#2F5AB1 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.147 H 262.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5AB1 |
|---|---|
| RGB | rgb(47, 90, 177) |
| HSL | hsl(220, 58%, 44%) |
| HSV | hsv(220, 73%, 69%) |
| CMYK | cmyk(73.4%, 49.2%, 0%, 30.6%) |
| CIE-LAB | lab(39.73, 15.81, -50.71) |
| CIE-LCH | lch(39.73, 53.12, 287.32°) |
| OKLab | oklab(48.58% -0.0192 -0.1456) |
| OKLCH | oklch(48.58% 0.147 262.5) |
| XYZ | xyz(12.7614, 11.0896, 43.0544) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.00
Denim
#1560BD
ΔE00 3.41
Denim Blue
#3B5B92
ΔE00 4.00
Dusky Blue
#475F94
ΔE00 5.08
Dusk Blue
#26538D
ΔE00 5.21
Light Navy Blue
#2E5A88
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5AB1 #B1862F
analogous
#2F9BB1 #2F5AB1 #452FB1
triadic
#2F5AB1 #B12F5A #5AB12F
tetradic
#2F5AB1 #B12F9B #B1862F #2FB145
square
#2F5AB1 #B12F9B #B1862F #2FB145
split-complementary
#2F5AB1 #B1452F #9BB12F
monochromatic
#152950 #224181 #2F5AB1 #4D79D0 #7E9DDD
Accessibility & contrast
On white
6.53
#2F5AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2F5AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5AB1
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5AB1 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2964B4
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f5ab1; /* rgb */ color: rgb(47, 90, 177); /* oklch */ color: oklch(48.6% 0.147 262.5);
Tailwind
colors: {
custom: {
50: '#7988c9',
500: '#2f5ab1',
950: '#000000',
},
}SCSS
$custom: #2f5ab1; $custom-light: #7988c9; $custom-dark: #000000;
JSON
{
"hex": "#2f5ab1",
"rgb": {
"r": 47,
"g": 90,
"b": 177
},
"hsl": {
"h": 220.154,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.48578,
"c": 0.14687,
"h": 262.5
},
"luminance": 0.11091
}Semantic roles & 50–950 ramp
primary
#2F5AB1
secondary
#C5AB76
accent
#AE47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82