#2A405C#2A405C

#2A405C is a dark, muted cyan. Relative luminance 0.049; OKLCH L 36.7% C 0.056 H 254.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2A405C
RGBrgb(42, 64, 92)
HSLhsl(214, 37%, 26%)
HSVhsv(214, 54%, 36%)
CMYKcmyk(54.3%, 30.4%, 0%, 63.9%)
CIE-LABlab(26.54, 0.42, -19.31)
CIE-LCHlch(26.54, 19.32, 271.24°)
OKLaboklab(36.66% -0.0146 -0.0541)
OKLCHoklch(36.66% 0.056 254.9)
XYZxyz(4.7193, 4.9314, 10.8263)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A405C #5C462A
analogous
#2A595C #2A405C #2D2A5C
triadic
#2A405C #5C2A40 #405C2A
tetradic
#2A405C #5C2A59 #5C462A #2A5C2D
square
#2A405C #5C2A59 #5C462A #2A5C2D
split-complementary
#2A405C #5C2D2A #595C2A
monochromatic
#0A0F15 #172332 #2A405C #3D5D86 #517BB0

Accessibility & contrast

On white

10.57
#2A405C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2A405C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A405C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A405C#FFFFFF#000000##FFFFFF
##2A405C1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35415D
Deuteranopia (green-blind)
#2F3D5B
Tritanopia (blue-blind)
#12464A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a405c;
/* rgb */ color: rgb(42, 64, 92);
/* oklch */ color: oklch(36.7% 0.056 254.9);
Tailwind
colors: {
  custom: {
    50: '#67748a',
    500: '#2a405c',
    950: '#000000',
  },
}
SCSS
$custom: #2a405c;
$custom-light: #67748a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a405c",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 213.6,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36657,
    "c": 0.05607,
    "h": 254.9
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#2A405C
secondary
#8E7453
accent
#9B5BCD
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2A405C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2A405C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva