#2F5BBF#2F5BBF
#2F5BBF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.165 H 263.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5BBF |
|---|---|
| RGB | rgb(47, 91, 191) |
| HSL | hsl(222, 61%, 47%) |
| HSV | hsv(222, 75%, 75%) |
| CMYK | cmyk(75.4%, 52.4%, 0%, 25.1%) |
| CIE-LAB | lab(40.97, 20.45, -56.91) |
| CIE-LCH | lch(40.97, 60.47, 289.77°) |
| OKLab | oklab(49.83% -0.0183 -0.1638) |
| OKLCH | oklch(49.83% 0.165 263.6) |
| XYZ | xyz(14.3140, 11.8465, 50.8123) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.32
Denim
#1560BD
ΔE00 3.52
Azul
#1D5DEC
ΔE00 5.49
Denim Blue
#3B5B92
ΔE00 5.62
French Blue
#436BAD
ΔE00 5.82
Dusky Blue
#475F94
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5BBF #BF932F
analogous
#2FA3BF #2F5BBF #4B2FBF
triadic
#2F5BBF #BF2F5B #5BBF2F
tetradic
#2F5BBF #BF2FA3 #BF932F #2FBF4B
square
#2F5BBF #BF2FA3 #BF932F #2FBF4B
split-complementary
#2F5BBF #BF4B2F #A3BF2F
monochromatic
#172C5D #23448E #2F5BBF #567DD5 #87A3E1
Accessibility & contrast
On white
6.23
#2F5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#2F5BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5BBF
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5BBF | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2f5bbf; /* rgb */ color: rgb(47, 91, 191); /* oklch */ color: oklch(49.8% 0.165 263.6);
Tailwind
colors: {
custom: {
50: '#7c88d3',
500: '#2f5bbf',
950: '#000000',
},
}SCSS
$custom: #2f5bbf; $custom-light: #7c88d3; $custom-dark: #000000;
JSON
{
"hex": "#2f5bbf",
"rgb": {
"r": 47,
"g": 91,
"b": 191
},
"hsl": {
"h": 221.667,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.4983,
"c": 0.16484,
"h": 263.6
},
"luminance": 0.11848
}Semantic roles & 50–950 ramp
primary
#2F5BBF
secondary
#CBB47F
accent
#B344E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83