#2A415C#2A415C

#2A415C is a dark, muted cyan. Relative luminance 0.050; OKLCH L 36.9% C 0.055 H 253.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2A415C
RGBrgb(42, 65, 92)
HSLhsl(212, 37%, 26%)
HSVhsv(212, 54%, 36%)
CMYKcmyk(54.3%, 29.3%, 0%, 63.9%)
CIE-LABlab(26.86, -0.25, -18.81)
CIE-LCHlch(26.86, 18.81, 269.25°)
OKLaboklab(36.91% -0.0159 -0.0527)
OKLCHoklch(36.91% 0.055 253.2)
XYZxyz(4.7762, 5.0452, 10.8453)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A415C #5C452A
analogous
#2A5A5C #2A415C #2C2A5C
triadic
#2A415C #5C2A41 #415C2A
tetradic
#2A415C #5C2A5A #5C452A #2A5C2C
square
#2A415C #5C2A5A #5C452A #2A5C2C
split-complementary
#2A415C #5C2C2A #5A5C2A
monochromatic
#0A0F15 #172332 #2A415C #3D5F86 #517CB0

Accessibility & contrast

On white

10.45
#2A415C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2A415C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A415C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A415C#FFFFFF#000000##FFFFFF
##2A415C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425D
Deuteranopia (green-blind)
#303D5B
Tritanopia (blue-blind)
#12474A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a415c;
/* rgb */ color: rgb(42, 65, 92);
/* oklch */ color: oklch(36.9% 0.055 253.2);
Tailwind
colors: {
  custom: {
    50: '#67758a',
    500: '#2a415c',
    950: '#000000',
  },
}
SCSS
$custom: #2a415c;
$custom-light: #67758a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a415c",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 92
  },
  "hsl": {
    "h": 212.4,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36912,
    "c": 0.05504,
    "h": 253.2
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#2A415C
secondary
#8E7353
accent
#985BCD
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2A415C

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

Preview Lab → · Contrast checker → · Palette generator →

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