#2F5BB1#2F5BB1
#2F5BB1 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.8% C 0.146 H 262.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5BB1 |
|---|---|
| RGB | rgb(47, 91, 177) |
| HSL | hsl(220, 58%, 44%) |
| HSV | hsv(220, 73%, 69%) |
| CMYK | cmyk(73.4%, 48.6%, 0%, 30.6%) |
| CIE-LAB | lab(40.01, 15.16, -50.25) |
| CIE-LCH | lch(40.01, 52.49, 286.78°) |
| OKLab | oklab(48.8% -0.02 -0.1442) |
| OKLCH | oklch(48.8% 0.146 262.1) |
| XYZ | xyz(12.8463, 11.2594, 43.0827) |
| Luminance | 0.1126 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.11
Sapphire
#0F52BA
ΔE00 3.26
Denim Blue
#3B5B92
ΔE00 3.97
Dusky Blue
#475F94
ΔE00 5.02
Dusk Blue
#26538D
ΔE00 5.28
Light Navy Blue
#2E5A88
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5BB1 #B1852F
analogous
#2F9CB1 #2F5BB1 #442FB1
triadic
#2F5BB1 #B12F5B #5BB12F
tetradic
#2F5BB1 #B12F9C #B1852F #2FB144
square
#2F5BB1 #B12F9C #B1852F #2FB144
split-complementary
#2F5BB1 #B1442F #9CB12F
monochromatic
#152950 #224281 #2F5BB1 #4D7AD0 #7E9EDD
Accessibility & contrast
On white
6.46
#2F5BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#2F5BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5BB1
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5BB1 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B65B4
Deuteranopia (green-blind)
#0159AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f5bb1; /* rgb */ color: rgb(47, 91, 177); /* oklch */ color: oklch(48.8% 0.146 262.1);
Tailwind
colors: {
custom: {
50: '#7988c9',
500: '#2f5bb1',
950: '#000000',
},
}SCSS
$custom: #2f5bb1; $custom-light: #7988c9; $custom-dark: #000000;
JSON
{
"hex": "#2f5bb1",
"rgb": {
"r": 47,
"g": 91,
"b": 177
},
"hsl": {
"h": 219.692,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.48795,
"c": 0.14563,
"h": 262.1
},
"luminance": 0.11261
}Semantic roles & 50–950 ramp
primary
#2F5BB1
secondary
#C5AB76
accent
#AD47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82