#2C4A98#2C4A98
#2C4A98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.133 H 265.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4A98 |
|---|---|
| RGB | rgb(44, 74, 152) |
| HSL | hsl(223, 55%, 38%) |
| HSV | hsv(223, 71%, 60%) |
| CMYK | cmyk(71.1%, 51.3%, 0%, 40.4%) |
| CIE-LAB | lab(33.35, 16.47, -46.07) |
| CIE-LCH | lch(33.35, 48.92, 289.68°) |
| OKLab | oklab(43.13% -0.0107 -0.1323) |
| OKLCH | oklch(43.13% 0.133 265.4) |
| XYZ | xyz(9.1530, 7.6991, 30.7034) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.33
Cobalt
#0047AB
ΔE00 3.35
Dusk Blue
#26538D
ΔE00 4.60
Sapphire
#0F52BA
ΔE00 5.22
Darkish Blue
#014182
ΔE00 5.34
Denim Blue
#3B5B92
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4A98 #987A2C
analogous
#2C8098 #2C4A98 #442C98
triadic
#2C4A98 #982C4A #4A982C
tetradic
#2C4A98 #982C80 #987A2C #2C9844
square
#2C4A98 #982C80 #987A2C #2C9844
split-complementary
#2C4A98 #98442C #80982C
monochromatic
#111C39 #1E3369 #2C4A98 #3B62C6 #6A88D4
Accessibility & contrast
On white
8.27
#2C4A98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2C4A98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4A98
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4A98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4A98 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2c4a98; /* rgb */ color: rgb(44, 74, 152); /* oklch */ color: oklch(43.1% 0.133 265.4);
Tailwind
colors: {
custom: {
50: '#737cb7',
500: '#2c4a98',
950: '#000000',
},
}SCSS
$custom: #2c4a98; $custom-light: #737cb7; $custom-dark: #000000;
JSON
{
"hex": "#2c4a98",
"rgb": {
"r": 44,
"g": 74,
"b": 152
},
"hsl": {
"h": 223.333,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.43126,
"c": 0.13271,
"h": 265.4
},
"luminance": 0.077
}Semantic roles & 50–950 ramp
primary
#2C4A98
secondary
#BBA365
accent
#B549DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80