#2F5CB3#2F5CB3
#2F5CB3 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.147 H 262.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CB3 |
|---|---|
| RGB | rgb(47, 92, 179) |
| HSL | hsl(220, 58%, 44%) |
| HSV | hsv(220, 74%, 70%) |
| CMYK | cmyk(73.7%, 48.6%, 0%, 29.8%) |
| CIE-LAB | lab(40.43, 15.26, -50.76) |
| CIE-LCH | lch(40.43, 53.00, 286.73°) |
| OKLab | oklab(49.16% -0.0206 -0.1457) |
| OKLCH | oklch(49.16% 0.147 262) |
| XYZ | xyz(13.1332, 11.5119, 44.1689) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.81
Sapphire
#0F52BA
ΔE00 3.48
Denim Blue
#3B5B92
ΔE00 4.20
Dusky Blue
#475F94
ΔE00 5.14
French Blue
#436BAD
ΔE00 5.18
Denim (survey)
#3B638C
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CB3 #B3862F
analogous
#2F9EB3 #2F5CB3 #442FB3
triadic
#2F5CB3 #B32F5C #5CB32F
tetradic
#2F5CB3 #B32F9E #B3862F #2FB344
square
#2F5CB3 #B32F9E #B3862F #2FB344
split-complementary
#2F5CB3 #B3442F #9EB32F
monochromatic
#162A52 #224383 #2F5CB3 #4F7BD1 #7F9FDD
Accessibility & contrast
On white
6.36
#2F5CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#2F5CB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CB3
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CB3 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B66B6
Deuteranopia (green-blind)
#005AB1
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f5cb3; /* rgb */ color: rgb(47, 92, 179); /* oklch */ color: oklch(49.2% 0.147 262.0);
Tailwind
colors: {
custom: {
50: '#7989ca',
500: '#2f5cb3',
950: '#000000',
},
}SCSS
$custom: #2f5cb3; $custom-light: #7989ca; $custom-dark: #000000;
JSON
{
"hex": "#2f5cb3",
"rgb": {
"r": 47,
"g": 92,
"b": 179
},
"hsl": {
"h": 219.545,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.49155,
"c": 0.14717,
"h": 262
},
"luminance": 0.11513
}Semantic roles & 50–950 ramp
primary
#2F5CB3
secondary
#C6AB78
accent
#AD46E2
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82