#2C4198#2C4198
#2C4198 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.144 H 268.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4198 |
|---|---|
| RGB | rgb(44, 65, 152) |
| HSL | hsl(228, 55%, 38%) |
| HSV | hsv(228, 71%, 60%) |
| CMYK | cmyk(71.1%, 57.2%, 0%, 40.4%) |
| CIE-LAB | lab(30.84, 22.54, -50.13) |
| CIE-LCH | lch(30.84, 54.97, 294.21°) |
| OKLab | oklab(41.23% -0.0027 -0.1444) |
| OKLCH | oklch(41.23% 0.144 268.9) |
| XYZ | xyz(8.5946, 6.5822, 30.5172) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.20
Cobalt
#0047AB
ΔE00 4.33
Cobalt (survey)
#1E488F
ΔE00 4.39
Blueberry
#464196
ΔE00 4.47
Darkslateblue
#483D8B
ΔE00 6.06
Darkish Blue
#014182
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4198 #98832C
analogous
#2C7798 #2C4198 #4D2C98
triadic
#2C4198 #982C41 #41982C
tetradic
#2C4198 #982C77 #98832C #2C984D
square
#2C4198 #982C77 #98832C #2C984D
split-complementary
#2C4198 #984D2C #77982C
monochromatic
#111839 #1E2D69 #2C4198 #3B56C6 #6A7FD4
Accessibility & contrast
On white
9.07
#2C4198 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2C4198 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4198
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4198 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4198 | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c4198; /* rgb */ color: rgb(44, 65, 152); /* oklch */ color: oklch(41.2% 0.144 268.9);
Tailwind
colors: {
custom: {
50: '#7475b7',
500: '#2c4198',
950: '#000000',
},
}SCSS
$custom: #2c4198; $custom-light: #7475b7; $custom-dark: #000000;
JSON
{
"hex": "#2c4198",
"rgb": {
"r": 44,
"g": 65,
"b": 152
},
"hsl": {
"h": 228.333,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.41228,
"c": 0.14442,
"h": 268.9
},
"luminance": 0.06583
}Semantic roles & 50–950 ramp
primary
#2C4198
secondary
#BBAA65
accent
#C149DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80