#2A4E5B#2A4E5B
#2A4E5B is a dark, muted cyan. Relative luminance 0.067; OKLCH L 40.3% C 0.047 H 223.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4E5B |
|---|---|
| RGB | rgb(42, 78, 91) |
| HSL | hsl(196, 37%, 26%) |
| HSV | hsv(196, 54%, 36%) |
| CMYK | cmyk(53.8%, 14.3%, 0%, 64.3%) |
| CIE-LAB | lab(31.10, -8.86, -11.64) |
| CIE-LCH | lch(31.10, 14.62, 232.71°) |
| OKLab | oklab(40.25% -0.034 -0.0322) |
| OKLCH | oklch(40.25% 0.047 223.5) |
| XYZ | xyz(5.5669, 6.6959, 10.8946) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Grey Blue
#29465B
ΔE00 6.00
Charcoal
#36454F
ΔE00 6.24
Dark Slate Blue
#214761
ΔE00 6.80
Darkslategray
#2F4F4F
ΔE00 6.86
Dark Blue Grey
#1F3B4D
ΔE00 7.44
Petrol
#005F6A
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4E5B #5B372A
analogous
#2A5B4F #2A4E5B #2A355B
triadic
#2A4E5B #5B2A4E #4E5B2A
tetradic
#2A4E5B #4F2A5B #5B372A #355B2A
square
#2A4E5B #4F2A5B #5B372A #355B2A
split-complementary
#2A4E5B #5B2A35 #5B4F2A
monochromatic
#0A1215 #172A31 #2A4E5B #3D7285 #5196AF
Accessibility & contrast
On white
8.98
#2A4E5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2A4E5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4E5B
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4E5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4E5B | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474C5C
Deuteranopia (green-blind)
#3F475B
Tritanopia (blue-blind)
#0E5252
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a4e5b; /* rgb */ color: rgb(42, 78, 91); /* oklch */ color: oklch(40.3% 0.047 223.5);
Tailwind
colors: {
custom: {
50: '#677f89',
500: '#2a4e5b',
950: '#000000',
},
}SCSS
$custom: #2a4e5b; $custom-light: #677f89; $custom-dark: #000000;
JSON
{
"hex": "#2a4e5b",
"rgb": {
"r": 42,
"g": 78,
"b": 91
},
"hsl": {
"h": 195.918,
"s": 36.842,
"l": 26.078
},
"oklch": {
"l": 0.40252,
"c": 0.04683,
"h": 223.5
},
"luminance": 0.06696
}Semantic roles & 50–950 ramp
primary
#2A4E5B
secondary
#8D6353
accent
#795BCD
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0B
muted
#7A7C7C