#2C5FAF#2C5FAF
#2C5FAF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.139 H 259.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5FAF |
|---|---|
| RGB | rgb(44, 95, 175) |
| HSL | hsl(217, 60%, 43%) |
| HSV | hsv(217, 75%, 69%) |
| CMYK | cmyk(74.9%, 45.7%, 0%, 31.4%) |
| CIE-LAB | lab(40.92, 11.39, -47.63) |
| CIE-LCH | lch(40.92, 48.97, 283.45°) |
| OKLab | oklab(49.42% -0.0261 -0.1365) |
| OKLCH | oklch(49.42% 0.139 259.2) |
| XYZ | xyz(12.8660, 11.8136, 42.1513) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.90
Denim Blue
#3B5B92
ΔE00 4.11
French Blue
#436BAD
ΔE00 4.34
Mid Blue
#276AB3
ΔE00 4.39
Denim (survey)
#3B638C
ΔE00 4.47
Sapphire
#0F52BA
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5FAF #AF7C2C
analogous
#2CA0AF #2C5FAF #3A2CAF
triadic
#2C5FAF #AF2C5F #5FAF2C
tetradic
#2C5FAF #AF2CA0 #AF7C2C #2CAF3A
square
#2C5FAF #AF2CA0 #AF7C2C #2CAF3A
split-complementary
#2C5FAF #AF3A2C #A0AF2C
monochromatic
#132A4D #20447E #2C5FAF #477DD1 #78A0DD
Accessibility & contrast
On white
6.24
#2C5FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#2C5FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5FAF
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5FAF | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#195BAD
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2c5faf; /* rgb */ color: rgb(44, 95, 175); /* oklch */ color: oklch(49.4% 0.139 259.2);
Tailwind
colors: {
custom: {
50: '#778bc7',
500: '#2c5faf',
950: '#000000',
},
}SCSS
$custom: #2c5faf; $custom-light: #778bc7; $custom-dark: #000000;
JSON
{
"hex": "#2c5faf",
"rgb": {
"r": 44,
"g": 95,
"b": 175
},
"hsl": {
"h": 216.641,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.49417,
"c": 0.13897,
"h": 259.2
},
"luminance": 0.11815
}Semantic roles & 50–950 ramp
primary
#2C5FAF
secondary
#C5A572
accent
#A545E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82