#2C457F#2C457F
#2C457F is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.102 H 264.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2C457F |
|---|---|
| RGB | rgb(44, 69, 127) |
| HSL | hsl(222, 49%, 34%) |
| HSV | hsv(222, 65%, 50%) |
| CMYK | cmyk(65.4%, 45.7%, 0%, 50.2%) |
| CIE-LAB | lab(30.21, 10.35, -35.74) |
| CIE-LCH | lch(30.21, 37.21, 286.15°) |
| OKLab | oklab(40.19% -0.0095 -0.102) |
| OKLCH | oklch(40.19% 0.102 264.7) |
| XYZ | xyz(6.9963, 6.3234, 20.9264) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.12
Darkish Blue
#014182
ΔE00 4.06
Twilight Blue
#0A437A
ΔE00 4.37
Dusk Blue
#26538D
ΔE00 5.67
Prussian Blue
#004577
ΔE00 5.82
Marine Blue
#01386A
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C457F #7F662C
analogous
#2C6E7F #2C457F #3C2C7F
triadic
#2C457F #7F2C45 #457F2C
tetradic
#2C457F #7F2C6E #7F662C #2C7F3C
square
#2C457F #7F2C6E #7F662C #2C7F3C
split-complementary
#2C457F #7F3C2C #6E7F2C
monochromatic
#0D1424 #1C2C52 #2C457F #3C5EAC #5E7EC7
Accessibility & contrast
On white
9.27
#2C457F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2C457F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C457F
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C457F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C457F | 1.00 | 9.27 | 2.26 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#1D447E
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c457f; /* rgb */ color: rgb(44, 69, 127); /* oklch */ color: oklch(40.2% 0.102 264.7);
Tailwind
colors: {
custom: {
50: '#6e78a4',
500: '#2c457f',
950: '#000000',
},
}SCSS
$custom: #2c457f; $custom-light: #6e78a4; $custom-dark: #000000;
JSON
{
"hex": "#2c457f",
"rgb": {
"r": 44,
"g": 69,
"b": 127
},
"hsl": {
"h": 221.928,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.40192,
"c": 0.10242,
"h": 264.7
},
"luminance": 0.06324
}Semantic roles & 50–950 ramp
primary
#2C457F
secondary
#AD9459
accent
#AF50D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F