#2C5399#2C5399
#2C5399 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.123 H 261.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5399 |
|---|---|
| RGB | rgb(44, 83, 153) |
| HSL | hsl(219, 55%, 39%) |
| HSV | hsv(219, 71%, 60%) |
| CMYK | cmyk(71.2%, 45.8%, 0%, 40%) |
| CIE-LAB | lab(36.02, 10.85, -42.37) |
| CIE-LCH | lch(36.02, 43.74, 284.36°) |
| OKLab | oklab(45.2% -0.019 -0.1212) |
| OKLCH | oklch(45.2% 0.123 261.1) |
| XYZ | xyz(9.8797, 9.0209, 31.3513) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.18
Denim Blue
#3B5B92
ΔE00 3.06
Cobalt (survey)
#1E488F
ΔE00 3.67
Light Navy Blue
#2E5A88
ΔE00 4.00
Sapphire
#0F52BA
ΔE00 4.15
Light Navy
#155084
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5399 #99722C
analogous
#2C8999 #2C5399 #3B2C99
triadic
#2C5399 #992C53 #53992C
tetradic
#2C5399 #992C89 #99722C #2C993B
square
#2C5399 #992C89 #99722C #2C993B
split-complementary
#2C5399 #993B2C #89992C
monochromatic
#111F3A #1E3969 #2C5399 #3B6DC7 #6B91D4
Accessibility & contrast
On white
7.49
#2C5399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2C5399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C5399
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5399 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#1B5098
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c5399; /* rgb */ color: rgb(44, 83, 153); /* oklch */ color: oklch(45.2% 0.123 261.1);
Tailwind
colors: {
custom: {
50: '#7382b7',
500: '#2c5399',
950: '#000000',
},
}SCSS
$custom: #2c5399; $custom-light: #7382b7; $custom-dark: #000000;
JSON
{
"hex": "#2c5399",
"rgb": {
"r": 44,
"g": 83,
"b": 153
},
"hsl": {
"h": 218.532,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.45196,
"c": 0.12274,
"h": 261.1
},
"luminance": 0.09022
}Semantic roles & 50–950 ramp
primary
#2C5399
secondary
#BB9D66
accent
#A949DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80