#2C4291#2C4291
#2C4291 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.133 H 268.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4291 |
|---|---|
| RGB | rgb(44, 66, 145) |
| HSL | hsl(227, 53%, 37%) |
| HSV | hsv(227, 70%, 57%) |
| CMYK | cmyk(69.7%, 54.5%, 0%, 43.1%) |
| CIE-LAB | lab(30.58, 19.21, -46.27) |
| CIE-LCH | lch(30.58, 50.10, 292.55°) |
| OKLab | oklab(40.87% -0.0041 -0.133) |
| OKLCH | oklch(40.87% 0.133 268.2) |
| XYZ | xyz(8.0960, 6.4755, 27.6058) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.63
Cobalt
#0047AB
ΔE00 4.66
Blueberry
#464196
ΔE00 4.91
Darkish Blue
#014182
ΔE00 5.31
Sapphire (survey)
#2138AB
ΔE00 5.37
Darkslateblue
#483D8B
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4291 #917B2C
analogous
#2C7491 #2C4291 #492C91
triadic
#2C4291 #912C42 #42912C
tetradic
#2C4291 #912C74 #917B2C #2C9149
square
#2C4291 #912C74 #917B2C #2C9149
split-complementary
#2C4291 #91492C #74912C
monochromatic
#101733 #1E2D62 #2C4291 #3A57C0 #677ED1
Accessibility & contrast
On white
9.15
#2C4291 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2C4291 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4291
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4291 | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A4D94
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c4291; /* rgb */ color: rgb(44, 66, 145); /* oklch */ color: oklch(40.9% 0.133 268.2);
Tailwind
colors: {
custom: {
50: '#7276b2',
500: '#2c4291',
950: '#000000',
},
}SCSS
$custom: #2c4291; $custom-light: #7276b2; $custom-dark: #000000;
JSON
{
"hex": "#2c4291",
"rgb": {
"r": 44,
"g": 66,
"b": 145
},
"hsl": {
"h": 226.931,
"s": 53.439,
"l": 37.059
},
"oklch": {
"l": 0.40869,
"c": 0.13307,
"h": 268.2
},
"luminance": 0.06476
}Semantic roles & 50–950 ramp
primary
#2C4291
secondary
#B7A562
accent
#BD4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80