#2A2C5D#2A2C5D

#2A2C5D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.086 H 278.6°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#2A2C5D
RGBrgb(42, 44, 93)
HSLhsl(238, 38%, 26%)
HSVhsv(238, 55%, 36%)
CMYKcmyk(54.8%, 52.7%, 0%, 63.5%)
CIE-LABlab(20.38, 14.64, -29.71)
CIE-LCHlch(20.38, 33.12, 296.22°)
OKLaboklab(31.93% 0.0128 -0.0846)
OKLCHoklch(31.93% 0.086 278.6)
XYZxyz(3.8307, 3.0837, 10.7472)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C5D #5D5B2A
analogous
#2A465D #2A2C5D #422A5D
triadic
#2A2C5D #5D2A2C #2C5D2A
tetradic
#2A2C5D #5D2A46 #5D5B2A #2A5D42
square
#2A2C5D #5D2A46 #5D5B2A #2A5D42
split-complementary
#2A2C5D #5D422A #465D2A
monochromatic
#0A0A15 #171833 #2A2C5D #3D4087 #5155B0

Accessibility & contrast

On white

12.99
#2A2C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2A2C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C5D
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C5D#FFFFFF#000000##FFFFFF
##2A2C5D1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335F
Deuteranopia (green-blind)
#102F5C
Tritanopia (blue-blind)
#153740
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a2c5d;
/* rgb */ color: rgb(42, 44, 93);
/* oklch */ color: oklch(31.9% 0.086 278.6);
Tailwind
colors: {
  custom: {
    50: '#68658b',
    500: '#2a2c5d',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c5d;
$custom-light: #68658b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c5d",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 237.647,
    "s": 37.778,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3193,
    "c": 0.0856,
    "h": 278.6
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#2A2C5D
secondary
#8F8D53
accent
#C95ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #2A2C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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