#2A2392#2A2392

#2A2392 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.173 H 275.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#2A2392
RGBrgb(42, 35, 146)
HSLhsl(244, 61%, 35%)
HSVhsv(244, 76%, 57%)
CMYKcmyk(71.2%, 76%, 0%, 42.7%)
CIE-LABlab(22.89, 39.34, -59.46)
CIE-LCHlch(22.89, 71.30, 303.49°)
OKLaboklab(35.23% 0.0169 -0.1719)
OKLCHoklch(35.23% 0.173 275.6)
XYZxyz(6.7425, 3.7690, 27.5607)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2392 #8B9223
analogous
#235392 #2A2392 #612392
triadic
#2A2392 #922A23 #23922A
tetradic
#2A2392 #922353 #8B9223 #239261
square
#2A2392 #922353 #8B9223 #239261
split-complementary
#2A2392 #926123 #539223
monochromatic
#0E0B2F #1C1761 #2A2392 #382FC3 #6058D7

Accessibility & contrast

On white

11.97
#2A2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2A2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2392
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2392#FFFFFF#000000##FFFFFF
##2A23921.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a2392;
/* rgb */ color: rgb(42, 35, 146);
/* oklch */ color: oklch(35.2% 0.173 275.6);
Tailwind
colors: {
  custom: {
    50: '#7460b3',
    500: '#2a2392',
    950: '#000000',
  },
}
SCSS
$custom: #2a2392;
$custom-light: #7460b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2392",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 243.784,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35225,
    "c": 0.17272,
    "h": 275.6
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#2A2392
secondary
#B5BB55
accent
#E443DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2A2392

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

Preview Lab → · Contrast checker → · Palette generator →

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