#2F5CB8#2F5CB8
#2F5CB8 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.154 H 262.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CB8 |
|---|---|
| RGB | rgb(47, 92, 184) |
| HSL | hsl(220, 59%, 45%) |
| HSV | hsv(220, 74%, 72%) |
| CMYK | cmyk(74.5%, 50%, 0%, 27.8%) |
| CIE-LAB | lab(40.76, 17.15, -53.15) |
| CIE-LCH | lch(40.76, 55.85, 287.89°) |
| OKLab | oklab(49.52% -0.0199 -0.1528) |
| OKLCH | oklch(49.52% 0.154 262.6) |
| XYZ | xyz(13.6481, 11.7178, 46.8806) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.90
Sapphire
#0F52BA
ΔE00 3.42
Denim Blue
#3B5B92
ΔE00 4.77
French Blue
#436BAD
ΔE00 5.27
Dusky Blue
#475F94
ΔE00 5.55
Denim (survey)
#3B638C
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CB8 #B88B2F
analogous
#2FA0B8 #2F5CB8 #472FB8
triadic
#2F5CB8 #B82F5C #5CB82F
tetradic
#2F5CB8 #B82FA0 #B88B2F #2FB847
square
#2F5CB8 #B82FA0 #B88B2F #2FB847
split-complementary
#2F5CB8 #B8472F #A0B82F
monochromatic
#162B57 #234487 #2F5CB8 #527CD3 #82A1DF
Accessibility & contrast
On white
6.28
#2F5CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2F5CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CB8
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CB8 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2567BB
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5cb8; /* rgb */ color: rgb(47, 92, 184); /* oklch */ color: oklch(49.5% 0.154 262.6);
Tailwind
colors: {
custom: {
50: '#7a89ce',
500: '#2f5cb8',
950: '#000000',
},
}SCSS
$custom: #2f5cb8; $custom-light: #7a89ce; $custom-dark: #000000;
JSON
{
"hex": "#2f5cb8",
"rgb": {
"r": 47,
"g": 92,
"b": 184
},
"hsl": {
"h": 220.292,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.49518,
"c": 0.15405,
"h": 262.6
},
"luminance": 0.11719
}Semantic roles & 50–950 ramp
primary
#2F5CB8
secondary
#C8AF7B
accent
#AF45E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82