#2A205D#2A205D

#2A205D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.5% C 0.104 H 285.6°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#2A205D
RGBrgb(42, 32, 93)
HSLhsl(250, 49%, 25%)
HSVhsv(250, 66%, 36%)
CMYKcmyk(54.8%, 65.6%, 0%, 63.5%)
CIE-LABlab(17.06, 22.99, -35.06)
CIE-LCHlch(17.06, 41.92, 303.25°)
OKLaboklab(29.47% 0.028 -0.1004)
OKLCHoklch(29.47% 0.104 285.6)
XYZxyz(3.4466, 2.3154, 10.6191)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A205D #535D20
analogous
#20355D #2A205D #49205D
triadic
#2A205D #5D2A20 #205D2A
tetradic
#2A205D #5D2035 #535D20 #205D49
square
#2A205D #5D2035 #535D20 #205D49
split-complementary
#2A205D #5D4920 #355D20
monochromatic
#0A0817 #15102F #2A205D #3F308B #533FB8

Accessibility & contrast

On white

14.35
#2A205D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2A205D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A205D
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A205D#FFFFFF#000000##FFFFFF
##2A205D1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#172E3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a205d;
/* rgb */ color: rgb(42, 32, 93);
/* oklch */ color: oklch(29.5% 0.104 285.6);
Tailwind
colors: {
  custom: {
    50: '#695c8b',
    500: '#2a205d',
    950: '#000000',
  },
}
SCSS
$custom: #2a205d;
$custom-light: #695c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a205d",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 249.836,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29465,
    "c": 0.10425,
    "h": 285.6
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#2A205D
secondary
#859147
accent
#D84FC2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #2A205D

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

Preview Lab → · Contrast checker → · Palette generator →

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