#2C5ABB#2C5ABB
#2C5ABB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.161 H 262.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5ABB |
|---|---|
| RGB | rgb(44, 90, 187) |
| HSL | hsl(221, 62%, 45%) |
| HSV | hsv(221, 76%, 73%) |
| CMYK | cmyk(76.5%, 51.9%, 0%, 26.7%) |
| CIE-LAB | lab(40.30, 19.23, -55.66) |
| CIE-LCH | lch(40.30, 58.89, 289.06°) |
| OKLab | oklab(49.2% -0.0202 -0.1602) |
| OKLCH | oklch(49.2% 0.161 262.8) |
| XYZ | xyz(13.6613, 11.4341, 48.4911) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.81
Denim
#1560BD
ΔE00 3.34
Denim Blue
#3B5B92
ΔE00 5.16
French Blue
#436BAD
ΔE00 5.99
Dusky Blue
#475F94
ΔE00 6.02
Azul
#1D5DEC
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5ABB #BB8D2C
analogous
#2CA2BB #2C5ABB #452CBB
triadic
#2C5ABB #BB2C5A #5ABB2C
tetradic
#2C5ABB #BB2CA2 #BB8D2C #2CBB45
square
#2C5ABB #BB2CA2 #BB8D2C #2CBB45
split-complementary
#2C5ABB #BB452C #A2BB2C
monochromatic
#152A58 #204289 #2C5ABB #4F7AD6 #809FE1
Accessibility & contrast
On white
6.39
#2C5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2C5ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5ABB
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5ABB | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1966BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2c5abb; /* rgb */ color: rgb(44, 90, 187); /* oklch */ color: oklch(49.2% 0.161 262.8);
Tailwind
colors: {
custom: {
50: '#7a88d0',
500: '#2c5abb',
950: '#000000',
},
}SCSS
$custom: #2c5abb; $custom-light: #7a88d0; $custom-dark: #000000;
JSON
{
"hex": "#2c5abb",
"rgb": {
"r": 44,
"g": 90,
"b": 187
},
"hsl": {
"h": 220.699,
"s": 61.905,
"l": 45.294
},
"oklch": {
"l": 0.49201,
"c": 0.16148,
"h": 262.8
},
"luminance": 0.11436
}Semantic roles & 50–950 ramp
primary
#2C5ABB
secondary
#CAB079
accent
#B143E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82