#2C5FB1#2C5FB1
#2C5FB1 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.142 H 259.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5FB1 |
|---|---|
| RGB | rgb(44, 95, 177) |
| HSL | hsl(217, 60%, 43%) |
| HSV | hsv(217, 75%, 69%) |
| CMYK | cmyk(75.1%, 46.3%, 0%, 30.6%) |
| CIE-LAB | lab(41.05, 12.15, -48.60) |
| CIE-LCH | lch(41.05, 50.10, 284.04°) |
| OKLab | oklab(49.56% -0.0257 -0.1394) |
| OKLCH | oklch(49.56% 0.142 259.5) |
| XYZ | xyz(13.0638, 11.8928, 43.1935) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.81
Denim Blue
#3B5B92
ΔE00 4.28
French Blue
#436BAD
ΔE00 4.32
Mid Blue
#276AB3
ΔE00 4.44
Sapphire
#0F52BA
ΔE00 4.48
Denim (survey)
#3B638C
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5FB1 #B17E2C
analogous
#2CA1B1 #2C5FB1 #3B2CB1
triadic
#2C5FB1 #B12C5F #5FB12C
tetradic
#2C5FB1 #B12CA1 #B17E2C #2CB13B
square
#2C5FB1 #B12CA1 #B17E2C #2CB13B
split-complementary
#2C5FB1 #B13B2C #A1B12C
monochromatic
#142A4F #204580 #2C5FB1 #497DD2 #7AA0DE
Accessibility & contrast
On white
6.22
#2C5FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#2C5FB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5FB1
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5FB1 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3467B4
Deuteranopia (green-blind)
#155BAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2c5fb1; /* rgb */ color: rgb(44, 95, 177); /* oklch */ color: oklch(49.6% 0.142 259.5);
Tailwind
colors: {
custom: {
50: '#788bc9',
500: '#2c5fb1',
950: '#000000',
},
}SCSS
$custom: #2c5fb1; $custom-light: #788bc9; $custom-dark: #000000;
JSON
{
"hex": "#2c5fb1",
"rgb": {
"r": 44,
"g": 95,
"b": 177
},
"hsl": {
"h": 216.992,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.49555,
"c": 0.14171,
"h": 259.5
},
"luminance": 0.11894
}Semantic roles & 50–950 ramp
primary
#2C5FB1
secondary
#C6A673
accent
#A644E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82