#2C438B#2C438B
#2C438B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.123 H 267.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2C438B |
|---|---|
| RGB | rgb(44, 67, 139) |
| HSL | hsl(225, 52%, 36%) |
| HSV | hsv(225, 68%, 55%) |
| CMYK | cmyk(68.3%, 51.8%, 0%, 45.5%) |
| CIE-LAB | lab(30.43, 16.25, -42.83) |
| CIE-LCH | lch(30.43, 45.81, 290.78°) |
| OKLab | oklab(40.62% -0.0056 -0.1228) |
| OKLCH | oklch(40.62% 0.123 267.4) |
| XYZ | xyz(7.7045, 6.4131, 25.2529) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.13
Darkish Blue
#014182
ΔE00 4.71
Cobalt
#0047AB
ΔE00 5.11
Twilight Blue
#0A437A
ΔE00 5.53
Blueberry
#464196
ΔE00 5.54
Sapphire (survey)
#2138AB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C438B #8B742C
analogous
#2C728B #2C438B #442C8B
triadic
#2C438B #8B2C43 #438B2C
tetradic
#2C438B #8B2C72 #8B742C #2C8B44
square
#2C438B #8B2C72 #8B742C #2C8B44
split-complementary
#2C438B #8B442C #728B2C
monochromatic
#0F162E #1D2D5D #2C438B #3B59B9 #647DCE
Accessibility & contrast
On white
9.20
#2C438B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2C438B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C438B
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C438B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C438B | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c438b; /* rgb */ color: rgb(44, 67, 139); /* oklch */ color: oklch(40.6% 0.123 267.4);
Tailwind
colors: {
custom: {
50: '#7176ad',
500: '#2c438b',
950: '#000000',
},
}SCSS
$custom: #2c438b; $custom-light: #7176ad; $custom-dark: #000000;
JSON
{
"hex": "#2c438b",
"rgb": {
"r": 44,
"g": 67,
"b": 139
},
"hsl": {
"h": 225.474,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.40617,
"c": 0.12298,
"h": 267.4
},
"luminance": 0.06414
}Semantic roles & 50–950 ramp
primary
#2C438B
secondary
#B49F5F
accent
#B94CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F