#2A415F#2A415F

#2A415F is a dark, muted cyan. Relative luminance 0.051; OKLCH L 37.1% C 0.059 H 255.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2A415F
RGBrgb(42, 65, 95)
HSLhsl(214, 39%, 27%)
HSVhsv(214, 56%, 37%)
CMYKcmyk(55.8%, 31.6%, 0%, 62.7%)
CIE-LABlab(27.01, 0.81, -20.51)
CIE-LCHlch(27.01, 20.53, 272.26°)
OKLaboklab(37.08% -0.0149 -0.0576)
OKLCHoklch(37.08% 0.06 255.5)
XYZxyz(4.9100, 5.0987, 11.5497)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A415F #5F482A
analogous
#2A5C5F #2A415F #2E2A5F
triadic
#2A415F #5F2A41 #415F2A
tetradic
#2A415F #5F2A5C #5F482A #2A5F2E
square
#2A415F #5F2A5C #5F482A #2A5F2E
split-complementary
#2A415F #5F2E2A #5C5F2A
monochromatic
#090F15 #172435 #2A415F #3D5E89 #517BB2

Accessibility & contrast

On white

10.40
#2A415F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A415F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A415F#FFFFFF#000000##FFFFFF
##2A415F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354360
Deuteranopia (green-blind)
#2F3E5E
Tritanopia (blue-blind)
#0E484C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a415f;
/* rgb */ color: rgb(42, 65, 95);
/* oklch */ color: oklch(37.1% 0.059 255.5);
Tailwind
colors: {
  custom: {
    50: '#67758c',
    500: '#2a415f',
    950: '#000000',
  },
}
SCSS
$custom: #2a415f;
$custom-light: #67758c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a415f",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 213.962,
    "s": 38.686,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3708,
    "c": 0.0595,
    "h": 255.5
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#2A415F
secondary
#917653
accent
#9C59CF
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2A415F

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

Preview Lab → · Contrast checker → · Palette generator →

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