#2F5CB4#2F5CB4
#2F5CB4 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.149 H 262.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CB4 |
|---|---|
| RGB | rgb(47, 92, 180) |
| HSL | hsl(220, 59%, 45%) |
| HSV | hsv(220, 74%, 71%) |
| CMYK | cmyk(73.9%, 48.9%, 0%, 29.4%) |
| CIE-LAB | lab(40.50, 15.64, -51.24) |
| CIE-LCH | lch(40.50, 53.57, 286.97°) |
| OKLab | oklab(49.23% -0.0204 -0.1471) |
| OKLCH | oklch(49.23% 0.149 262.1) |
| XYZ | xyz(13.2347, 11.5525, 44.7035) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.82
Sapphire
#0F52BA
ΔE00 3.46
Denim Blue
#3B5B92
ΔE00 4.31
French Blue
#436BAD
ΔE00 5.19
Dusky Blue
#475F94
ΔE00 5.22
Denim (survey)
#3B638C
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CB4 #B4872F
analogous
#2F9FB4 #2F5CB4 #442FB4
triadic
#2F5CB4 #B42F5C #5CB42F
tetradic
#2F5CB4 #B42F9F #B4872F #2FB444
square
#2F5CB4 #B42F9F #B4872F #2FB444
split-complementary
#2F5CB4 #B4442F #9FB42F
monochromatic
#162A53 #224383 #2F5CB4 #4F7BD1 #809FDE
Accessibility & contrast
On white
6.34
#2F5CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#2F5CB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CB4
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CB4 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A66B7
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f5cb4; /* rgb */ color: rgb(47, 92, 180); /* oklch */ color: oklch(49.2% 0.149 262.1);
Tailwind
colors: {
custom: {
50: '#7989cb',
500: '#2f5cb4',
950: '#000000',
},
}SCSS
$custom: #2f5cb4; $custom-light: #7989cb; $custom-dark: #000000;
JSON
{
"hex": "#2f5cb4",
"rgb": {
"r": 47,
"g": 92,
"b": 180
},
"hsl": {
"h": 219.699,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.49227,
"c": 0.14855,
"h": 262.1
},
"luminance": 0.11554
}Semantic roles & 50–950 ramp
primary
#2F5CB4
secondary
#C7AC78
accent
#AD46E2
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82