#2C438C#2C438C
#2C438C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.124 H 267.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C438C |
|---|---|
| RGB | rgb(44, 67, 140) |
| HSL | hsl(226, 52%, 36%) |
| HSV | hsv(226, 69%, 55%) |
| CMYK | cmyk(68.6%, 52.1%, 0%, 45.1%) |
| CIE-LAB | lab(30.50, 16.63, -43.33) |
| CIE-LCH | lch(30.50, 46.41, 291.00°) |
| OKLab | oklab(40.69% -0.0055 -0.1243) |
| OKLCH | oklch(40.69% 0.124 267.5) |
| XYZ | xyz(7.7779, 6.4425, 25.6395) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.15
Darkish Blue
#014182
ΔE00 4.77
Cobalt
#0047AB
ΔE00 5.01
Blueberry
#464196
ΔE00 5.46
Twilight Blue
#0A437A
ΔE00 5.61
Sapphire (survey)
#2138AB
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C438C #8C752C
analogous
#2C738C #2C438C #452C8C
triadic
#2C438C #8C2C43 #438C2C
tetradic
#2C438C #8C2C73 #8C752C #2C8C45
square
#2C438C #8C2C73 #8C752C #2C8C45
split-complementary
#2C438C #8C452C #738C2C
monochromatic
#0F162F #1D2D5D #2C438C #3B59BB #647ECE
Accessibility & contrast
On white
9.18
#2C438C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2C438C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C438C
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C438C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C438C | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#184C8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c438c; /* rgb */ color: rgb(44, 67, 140); /* oklch */ color: oklch(40.7% 0.124 267.5);
Tailwind
colors: {
custom: {
50: '#7176ae',
500: '#2c438c',
950: '#000000',
},
}SCSS
$custom: #2c438c; $custom-light: #7176ae; $custom-dark: #000000;
JSON
{
"hex": "#2c438c",
"rgb": {
"r": 44,
"g": 67,
"b": 140
},
"hsl": {
"h": 225.625,
"s": 52.174,
"l": 36.078
},
"oklch": {
"l": 0.40694,
"c": 0.12445,
"h": 267.5
},
"luminance": 0.06443
}Semantic roles & 50–950 ramp
primary
#2C438C
secondary
#B5A05F
accent
#B94CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F