#2A415E#2A415E

#2A415E is a dark, muted cyan. Relative luminance 0.051; OKLCH L 37.0% C 0.058 H 254.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2A415E
RGBrgb(42, 65, 94)
HSLhsl(213, 38%, 27%)
HSVhsv(213, 55%, 37%)
CMYKcmyk(55.3%, 30.9%, 0%, 63.1%)
CIE-LABlab(26.96, 0.46, -19.95)
CIE-LCHlch(26.96, 19.95, 271.31°)
OKLaboklab(37.02% -0.0153 -0.056)
OKLCHoklch(37.02% 0.058 254.7)
XYZxyz(4.8648, 5.0806, 11.3118)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A415E #5E472A
analogous
#2A5B5E #2A415E #2D2A5E
triadic
#2A415E #5E2A41 #415E2A
tetradic
#2A415E #5E2A5B #5E472A #2A5E2D
square
#2A415E #5E2A5B #5E472A #2A5E2D
split-complementary
#2A415E #5E2D2A #5B5E2A
monochromatic
#090F15 #172434 #2A415E #3D5E88 #517CB1

Accessibility & contrast

On white

10.42
#2A415E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2A415E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A415E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A415E#FFFFFF#000000##FFFFFF
##2A415E1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35435F
Deuteranopia (green-blind)
#2F3D5D
Tritanopia (blue-blind)
#10484B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a415e;
/* rgb */ color: rgb(42, 65, 94);
/* oklch */ color: oklch(37.0% 0.058 254.7);
Tailwind
colors: {
  custom: {
    50: '#67758b',
    500: '#2a415e',
    950: '#000000',
  },
}
SCSS
$custom: #2a415e;
$custom-light: #67758b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a415e",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 94
  },
  "hsl": {
    "h": 213.462,
    "s": 38.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37023,
    "c": 0.058,
    "h": 254.7
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#2A415E
secondary
#907553
accent
#9B5ACE
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2A415E

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

Preview Lab → · Contrast checker → · Palette generator →

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