#2C4182#2C4182
#2C4182 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.112 H 267.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4182 |
|---|---|
| RGB | rgb(44, 65, 130) |
| HSL | hsl(225, 49%, 34%) |
| HSV | hsv(225, 66%, 51%) |
| CMYK | cmyk(66.2%, 50%, 0%, 49%) |
| CIE-LAB | lab(29.23, 14.20, -39.19) |
| CIE-LCH | lch(29.23, 41.68, 289.92°) |
| OKLab | oklab(39.5% -0.0047 -0.1122) |
| OKLCH | oklch(39.5% 0.112 267.6) |
| XYZ | xyz(6.9569, 5.9271, 21.8922) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.90
Darkish Blue
#014182
ΔE00 4.65
Twilight Blue
#0A437A
ΔE00 5.34
Blueberry
#464196
ΔE00 6.06
Marine Blue
#01386A
ΔE00 6.21
Cobalt
#0047AB
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4182 #826D2C
analogous
#2C6C82 #2C4182 #422C82
triadic
#2C4182 #822C41 #41822C
tetradic
#2C4182 #822C6C #826D2C #2C8242
square
#2C4182 #822C6C #826D2C #2C8242
split-complementary
#2C4182 #82422C #6C822C
monochromatic
#0D1327 #1D2A54 #2C4182 #3B58B0 #5F79C9
Accessibility & contrast
On white
9.61
#2C4182 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2C4182 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4182
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4182 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4182 | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4984
Deuteranopia (green-blind)
#0D4181
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c4182; /* rgb */ color: rgb(44, 65, 130); /* oklch */ color: oklch(39.5% 0.112 267.6);
Tailwind
colors: {
custom: {
50: '#6f75a7',
500: '#2c4182',
950: '#000000',
},
}SCSS
$custom: #2c4182; $custom-light: #6f75a7; $custom-dark: #000000;
JSON
{
"hex": "#2c4182",
"rgb": {
"r": 44,
"g": 65,
"b": 130
},
"hsl": {
"h": 225.349,
"s": 49.425,
"l": 34.118
},
"oklch": {
"l": 0.39502,
"c": 0.11228,
"h": 267.6
},
"luminance": 0.05928
}Semantic roles & 50–950 ramp
primary
#2C4182
secondary
#AF9B5B
accent
#B74FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F