#2F5BBB#2F5BBB
#2F5BBB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.159 H 263.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5BBB |
|---|---|
| RGB | rgb(47, 91, 187) |
| HSL | hsl(221, 60%, 46%) |
| HSV | hsv(221, 75%, 73%) |
| CMYK | cmyk(74.9%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(40.69, 18.94, -55.02) |
| CIE-LCH | lch(40.69, 58.19, 289.00°) |
| OKLab | oklab(49.53% -0.0187 -0.1583) |
| OKLCH | oklch(49.53% 0.159 263.3) |
| XYZ | xyz(13.8798, 11.6728, 48.5256) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.19
Denim
#1560BD
ΔE00 3.31
Denim Blue
#3B5B92
ΔE00 5.14
French Blue
#436BAD
ΔE00 5.68
Dusky Blue
#475F94
ΔE00 5.87
Azul
#1D5DEC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5BBB #BB8F2F
analogous
#2FA1BB #2F5BBB #492FBB
triadic
#2F5BBB #BB2F5B #5BBB2F
tetradic
#2F5BBB #BB2FA1 #BB8F2F #2FBB49
square
#2F5BBB #BB2FA1 #BB8F2F #2FBB49
split-complementary
#2F5BBB #BB492F #A1BB2F
monochromatic
#162B59 #23438A #2F5BBB #537CD4 #84A1E0
Accessibility & contrast
On white
6.30
#2F5BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#2F5BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5BBB
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5BBB | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5bbb; /* rgb */ color: rgb(47, 91, 187); /* oklch */ color: oklch(49.5% 0.159 263.3);
Tailwind
colors: {
custom: {
50: '#7b88d0',
500: '#2f5bbb',
950: '#000000',
},
}SCSS
$custom: #2f5bbb; $custom-light: #7b88d0; $custom-dark: #000000;
JSON
{
"hex": "#2f5bbb",
"rgb": {
"r": 47,
"g": 91,
"b": 187
},
"hsl": {
"h": 221.143,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.49528,
"c": 0.15939,
"h": 263.3
},
"luminance": 0.11674
}Semantic roles & 50–950 ramp
primary
#2F5BBB
secondary
#C9B17C
accent
#B145E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82