#2C4897#2C4897
#2C4897 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.134 H 266.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4897 |
|---|---|
| RGB | rgb(44, 72, 151) |
| HSL | hsl(224, 55%, 38%) |
| HSV | hsv(224, 71%, 59%) |
| CMYK | cmyk(70.9%, 52.3%, 0%, 40.8%) |
| CIE-LAB | lab(32.71, 17.44, -46.49) |
| CIE-LCH | lch(32.71, 49.66, 290.56°) |
| OKLab | oklab(42.62% -0.009 -0.1336) |
| OKLCH | oklch(42.62% 0.134 266.1) |
| XYZ | xyz(8.9400, 7.4037, 30.2301) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.49
Cobalt
#0047AB
ΔE00 3.45
Dusk Blue
#26538D
ΔE00 5.20
Darkish Blue
#014182
ΔE00 5.25
Sapphire
#0F52BA
ΔE00 5.72
Blueberry
#464196
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4897 #977B2C
analogous
#2C7D97 #2C4897 #452C97
triadic
#2C4897 #972C48 #48972C
tetradic
#2C4897 #972C7D #977B2C #2C9745
square
#2C4897 #972C7D #977B2C #2C9745
split-complementary
#2C4897 #97452C #7D972C
monochromatic
#101B38 #1E3168 #2C4897 #3A5FC6 #6A86D4
Accessibility & contrast
On white
8.46
#2C4897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2C4897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4897
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4897 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2c4897; /* rgb */ color: rgb(44, 72, 151); /* oklch */ color: oklch(42.6% 0.134 266.1);
Tailwind
colors: {
custom: {
50: '#737ab6',
500: '#2c4897',
950: '#000000',
},
}SCSS
$custom: #2c4897; $custom-light: #737ab6; $custom-dark: #000000;
JSON
{
"hex": "#2c4897",
"rgb": {
"r": 44,
"g": 72,
"b": 151
},
"hsl": {
"h": 224.299,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.42617,
"c": 0.13387,
"h": 266.1
},
"luminance": 0.07405
}Semantic roles & 50–950 ramp
primary
#2C4897
secondary
#BAA465
accent
#B74ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80