#2C5FB6#2C5FB6
#2C5FB6 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.149 H 260.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5FB6 |
|---|---|
| RGB | rgb(44, 95, 182) |
| HSL | hsl(218, 61%, 44%) |
| HSV | hsv(218, 76%, 71%) |
| CMYK | cmyk(75.8%, 47.8%, 0%, 28.6%) |
| CIE-LAB | lab(41.37, 14.06, -51.02) |
| CIE-LCH | lch(41.37, 52.92, 285.41°) |
| OKLab | oklab(49.91% -0.0249 -0.1465) |
| OKLCH | oklch(49.91% 0.149 260.4) |
| XYZ | xyz(13.5714, 12.0958, 45.8664) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.75
Sapphire
#0F52BA
ΔE00 4.34
French Blue
#436BAD
ΔE00 4.34
Mid Blue
#276AB3
ΔE00 4.62
Denim Blue
#3B5B92
ΔE00 4.74
Denim (survey)
#3B638C
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5FB6 #B6832C
analogous
#2CA4B6 #2C5FB6 #3E2CB6
triadic
#2C5FB6 #B62C5F #5FB62C
tetradic
#2C5FB6 #B62CA4 #B6832C #2CB63E
square
#2C5FB6 #B62CA4 #B6832C #2CB63E
split-complementary
#2C5FB6 #B63E2C #A4B62C
monochromatic
#142C53 #204585 #2C5FB6 #4C7ED4 #7DA1E0
Accessibility & contrast
On white
6.14
#2C5FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#2C5FB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5FB6
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5FB6 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F68B9
Deuteranopia (green-blind)
#045CB4
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2c5fb6; /* rgb */ color: rgb(44, 95, 182); /* oklch */ color: oklch(49.9% 0.149 260.4);
Tailwind
colors: {
custom: {
50: '#798bcc',
500: '#2c5fb6',
950: '#000000',
},
}SCSS
$custom: #2c5fb6; $custom-light: #798bcc; $custom-dark: #000000;
JSON
{
"hex": "#2c5fb6",
"rgb": {
"r": 44,
"g": 95,
"b": 182
},
"hsl": {
"h": 217.826,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.49907,
"c": 0.14856,
"h": 260.4
},
"luminance": 0.12097
}Semantic roles & 50–950 ramp
primary
#2C5FB6
secondary
#C8AA76
accent
#A944E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82