#2F5BBD#2F5BBD
#2F5BBD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.162 H 263.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5BBD |
|---|---|
| RGB | rgb(47, 91, 189) |
| HSL | hsl(221, 60%, 46%) |
| HSV | hsv(221, 75%, 74%) |
| CMYK | cmyk(75.1%, 51.9%, 0%, 25.9%) |
| CIE-LAB | lab(40.83, 19.70, -55.97) |
| CIE-LCH | lch(40.83, 59.33, 289.39°) |
| OKLab | oklab(49.68% -0.0185 -0.1611) |
| OKLCH | oklch(49.68% 0.162 263.4) |
| XYZ | xyz(14.0954, 11.7591, 49.6611) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.24
Denim
#1560BD
ΔE00 3.40
Denim Blue
#3B5B92
ΔE00 5.38
French Blue
#436BAD
ΔE00 5.75
Azul
#1D5DEC
ΔE00 5.75
Dusky Blue
#475F94
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5BBD #BD912F
analogous
#2FA2BD #2F5BBD #4A2FBD
triadic
#2F5BBD #BD2F5B #5BBD2F
tetradic
#2F5BBD #BD2FA2 #BD912F #2FBD4A
square
#2F5BBD #BD2FA2 #BD912F #2FBD4A
split-complementary
#2F5BBD #BD4A2F #A2BD2F
monochromatic
#172C5B #23438C #2F5BBD #557CD5 #86A2E1
Accessibility & contrast
On white
6.26
#2F5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2F5BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5BBD
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5BBD | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5bbd; /* rgb */ color: rgb(47, 91, 189); /* oklch */ color: oklch(49.7% 0.162 263.4);
Tailwind
colors: {
custom: {
50: '#7b88d2',
500: '#2f5bbd',
950: '#000000',
},
}SCSS
$custom: #2f5bbd; $custom-light: #7b88d2; $custom-dark: #000000;
JSON
{
"hex": "#2f5bbd",
"rgb": {
"r": 47,
"g": 91,
"b": 189
},
"hsl": {
"h": 221.408,
"s": 60.169,
"l": 46.275
},
"oklch": {
"l": 0.49678,
"c": 0.16212,
"h": 263.4
},
"luminance": 0.11761
}Semantic roles & 50–950 ramp
primary
#2F5BBD
secondary
#CAB27E
accent
#B244E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82