#2C4092#2C4092
#2C4092 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.137 H 269.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4092 |
|---|---|
| RGB | rgb(44, 64, 146) |
| HSL | hsl(228, 54%, 37%) |
| HSV | hsv(228, 70%, 57%) |
| CMYK | cmyk(69.9%, 56.2%, 0%, 42.7%) |
| CIE-LAB | lab(30.10, 20.95, -47.66) |
| CIE-LCH | lch(30.10, 52.06, 293.73°) |
| OKLab | oklab(40.53% -0.0022 -0.1371) |
| OKLCH | oklch(40.53% 0.137 269.1) |
| XYZ | xyz(8.0586, 6.2768, 27.9754) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.31
Blueberry
#464196
ΔE00 4.54
Sapphire (survey)
#2138AB
ΔE00 4.77
Cobalt
#0047AB
ΔE00 4.94
Darkish Blue
#014182
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4092 #927E2C
analogous
#2C7392 #2C4092 #4B2C92
triadic
#2C4092 #922C40 #40922C
tetradic
#2C4092 #922C73 #927E2C #2C924B
square
#2C4092 #922C73 #927E2C #2C924B
split-complementary
#2C4092 #924B2C #73922C
monochromatic
#101734 #1E2B63 #2C4092 #3A55C1 #677CD1
Accessibility & contrast
On white
9.31
#2C4092 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2C4092 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4092
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4092 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4092 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c4092; /* rgb */ color: rgb(44, 64, 146); /* oklch */ color: oklch(40.5% 0.137 269.1);
Tailwind
colors: {
custom: {
50: '#7274b3',
500: '#2c4092',
950: '#000000',
},
}SCSS
$custom: #2c4092; $custom-light: #7274b3; $custom-dark: #000000;
JSON
{
"hex": "#2c4092",
"rgb": {
"r": 44,
"g": 64,
"b": 146
},
"hsl": {
"h": 228.235,
"s": 53.684,
"l": 37.255
},
"oklch": {
"l": 0.4053,
"c": 0.13715,
"h": 269.1
},
"luminance": 0.06278
}Semantic roles & 50–950 ramp
primary
#2C4092
secondary
#B8A762
accent
#C04BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80