#2F5EBD#2F5EBD
#2F5EBD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.3% C 0.158 H 262.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5EBD |
|---|---|
| RGB | rgb(47, 94, 189) |
| HSL | hsl(220, 60%, 46%) |
| HSV | hsv(220, 75%, 74%) |
| CMYK | cmyk(75.1%, 50.3%, 0%, 25.9%) |
| CIE-LAB | lab(41.66, 17.74, -54.62) |
| CIE-LCH | lch(41.66, 57.43, 288.00°) |
| OKLab | oklab(50.31% -0.0209 -0.1571) |
| OKLCH | oklch(50.31% 0.158 262.4) |
| XYZ | xyz(14.3570, 12.2823, 49.7483) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.59
Sapphire
#0F52BA
ΔE00 4.05
French Blue
#436BAD
ΔE00 4.80
Denim Blue
#3B5B92
ΔE00 5.39
Mid Blue
#276AB3
ΔE00 5.52
Azul
#1D5DEC
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5EBD #BD8E2F
analogous
#2FA5BD #2F5EBD #472FBD
triadic
#2F5EBD #BD2F5E #5EBD2F
tetradic
#2F5EBD #BD2FA5 #BD8E2F #2FBD47
square
#2F5EBD #BD2FA5 #BD8E2F #2FBD47
split-complementary
#2F5EBD #BD472F #A5BD2F
monochromatic
#172D5B #23468C #2F5EBD #557FD5 #86A4E1
Accessibility & contrast
On white
6.07
#2F5EBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#2F5EBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5EBD
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5EBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5EBD | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2469C0
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2f5ebd; /* rgb */ color: rgb(47, 94, 189); /* oklch */ color: oklch(50.3% 0.158 262.4);
Tailwind
colors: {
custom: {
50: '#7b8bd1',
500: '#2f5ebd',
950: '#000000',
},
}SCSS
$custom: #2f5ebd; $custom-light: #7b8bd1; $custom-dark: #000000;
JSON
{
"hex": "#2f5ebd",
"rgb": {
"r": 47,
"g": 94,
"b": 189
},
"hsl": {
"h": 220.141,
"s": 60.169,
"l": 46.275
},
"oklch": {
"l": 0.50311,
"c": 0.15844,
"h": 262.4
},
"luminance": 0.12284
}Semantic roles & 50–950 ramp
primary
#2F5EBD
secondary
#CAB17E
accent
#AF44E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82