#2C5FB7#2C5FB7
#2C5FB7 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.150 H 260.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5FB7 |
|---|---|
| RGB | rgb(44, 95, 183) |
| HSL | hsl(218, 61%, 45%) |
| HSV | hsv(218, 76%, 72%) |
| CMYK | cmyk(76%, 48.1%, 0%, 28.2%) |
| CIE-LAB | lab(41.43, 14.44, -51.49) |
| CIE-LCH | lch(41.43, 53.48, 285.67°) |
| OKLab | oklab(49.98% -0.0247 -0.1479) |
| OKLCH | oklch(49.98% 0.15 260.5) |
| XYZ | xyz(13.6751, 12.1372, 46.4126) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.77
Sapphire
#0F52BA
ΔE00 4.32
French Blue
#436BAD
ΔE00 4.35
Mid Blue
#276AB3
ΔE00 4.66
Denim Blue
#3B5B92
ΔE00 4.84
Denim (survey)
#3B638C
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5FB7 #B7842C
analogous
#2CA4B7 #2C5FB7 #3F2CB7
triadic
#2C5FB7 #B72C5F #5FB72C
tetradic
#2C5FB7 #B72CA4 #B7842C #2CB73F
square
#2C5FB7 #B72CA4 #B7842C #2CB73F
split-complementary
#2C5FB7 #B73F2C #A4B72C
monochromatic
#142C54 #204586 #2C5FB7 #4C7ED4 #7EA2E0
Accessibility & contrast
On white
6.13
#2C5FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#2C5FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5FB7
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5FB7 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E69BA
Deuteranopia (green-blind)
#005CB5
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2c5fb7; /* rgb */ color: rgb(44, 95, 183); /* oklch */ color: oklch(50.0% 0.150 260.5);
Tailwind
colors: {
custom: {
50: '#798bcd',
500: '#2c5fb7',
950: '#000000',
},
}SCSS
$custom: #2c5fb7; $custom-light: #798bcd; $custom-dark: #000000;
JSON
{
"hex": "#2c5fb7",
"rgb": {
"r": 44,
"g": 95,
"b": 183
},
"hsl": {
"h": 217.986,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.49978,
"c": 0.14993,
"h": 260.5
},
"luminance": 0.12139
}Semantic roles & 50–950 ramp
primary
#2C5FB7
secondary
#C8AA76
accent
#A943E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82