#2A2373#2A2373

#2A2373 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.132 H 279.9°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#2A2373
RGBrgb(42, 35, 115)
HSLhsl(245, 53%, 29%)
HSVhsv(245, 70%, 45%)
CMYKcmyk(63.5%, 69.6%, 0%, 54.9%)
CIE-LABlab(19.77, 28.69, -45.04)
CIE-LCHlch(19.77, 53.40, 302.49°)
OKLaboklab(32.05% 0.0226 -0.1297)
OKLCHoklch(32.05% 0.132 279.9)
XYZxyz(4.6494, 2.9318, 16.5372)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2373 #6C7323
analogous
#234473 #2A2373 #522373
triadic
#2A2373 #732A23 #23732A
tetradic
#2A2373 #732344 #6C7323 #237352
square
#2A2373 #732344 #6C7323 #237352
split-complementary
#2A2373 #735223 #447323
monochromatic
#090717 #191544 #2A2373 #3B31A2 #5449C8

Accessibility & contrast

On white

13.24
#2A2373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2A2373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2373
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2373#FFFFFF#000000##FFFFFF
##2A23731.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a2373;
/* rgb */ color: rgb(42, 35, 115);
/* oklch */ color: oklch(32.0% 0.132 279.9);
Tailwind
colors: {
  custom: {
    50: '#6d5e9c',
    500: '#2a2373',
    950: '#000000',
  },
}
SCSS
$custom: #2a2373;
$custom-light: #6d5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2373",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 245.25,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32045,
    "c": 0.13169,
    "h": 279.9
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

primary
#2A2373
secondary
#9EA64C
accent
#DD4BD0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2A2373

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

Preview Lab → · Contrast checker → · Palette generator →

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