#2C438E#2C438E
#2C438E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.127 H 267.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2C438E |
|---|---|
| RGB | rgb(44, 67, 142) |
| HSL | hsl(226, 53%, 36%) |
| HSV | hsv(226, 69%, 56%) |
| CMYK | cmyk(69%, 52.8%, 0%, 44.3%) |
| CIE-LAB | lab(30.65, 17.39, -44.33) |
| CIE-LCH | lch(30.65, 47.62, 291.43°) |
| OKLab | oklab(40.85% -0.0053 -0.1273) |
| OKLCH | oklch(40.85% 0.127 267.6) |
| XYZ | xyz(7.9267, 6.5020, 26.4232) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.20
Cobalt
#0047AB
ΔE00 4.79
Darkish Blue
#014182
ΔE00 4.91
Blueberry
#464196
ΔE00 5.30
Twilight Blue
#0A437A
ΔE00 5.79
Sapphire (survey)
#2138AB
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C438E #8E772C
analogous
#2C748E #2C438E #462C8E
triadic
#2C438E #8E2C43 #438E2C
tetradic
#2C438E #8E2C74 #8E772C #2C8E46
square
#2C438E #8E2C74 #8E772C #2C8E46
split-complementary
#2C438E #8E462C #748E2C
monochromatic
#0F1731 #1E2D5F #2C438E #3A59BD #657ECF
Accessibility & contrast
On white
9.13
#2C438E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2C438E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C438E
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C438E | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c438e; /* rgb */ color: rgb(44, 67, 142); /* oklch */ color: oklch(40.8% 0.127 267.6);
Tailwind
colors: {
custom: {
50: '#7176b0',
500: '#2c438e',
950: '#000000',
},
}SCSS
$custom: #2c438e; $custom-light: #7176b0; $custom-dark: #000000;
JSON
{
"hex": "#2c438e",
"rgb": {
"r": 44,
"g": 67,
"b": 142
},
"hsl": {
"h": 225.918,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.40847,
"c": 0.12738,
"h": 267.6
},
"luminance": 0.06503
}Semantic roles & 50–950 ramp
primary
#2C438E
secondary
#B6A260
accent
#BA4CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F