#2A2394#2A2394

#2A2394 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.175 H 275.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2A2394
RGBrgb(42, 35, 148)
HSLhsl(244, 62%, 36%)
HSVhsv(244, 76%, 58%)
CMYKcmyk(71.6%, 76.4%, 0%, 42%)
CIE-LABlab(23.11, 40.01, -60.34)
CIE-LCHlch(23.11, 72.40, 303.55°)
OKLaboklab(35.44% 0.0165 -0.1745)
OKLCHoklch(35.44% 0.175 275.4)
XYZxyz(6.8994, 3.8318, 28.3872)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2394 #8D9423
analogous
#235494 #2A2394 #622394
triadic
#2A2394 #942A23 #23942A
tetradic
#2A2394 #942354 #8D9423 #239462
square
#2A2394 #942354 #8D9423 #239462
split-complementary
#2A2394 #946223 #549423
monochromatic
#0E0C31 #1C1763 #2A2394 #382FC5 #615AD8

Accessibility & contrast

On white

11.89
#2A2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2394
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2394#FFFFFF#000000##FFFFFF
##2A23941.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a2394;
/* rgb */ color: rgb(42, 35, 148);
/* oklch */ color: oklch(35.4% 0.175 275.4);
Tailwind
colors: {
  custom: {
    50: '#7460b5',
    500: '#2a2394',
    950: '#000000',
  },
}
SCSS
$custom: #2a2394;
$custom-light: #7460b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2394",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 243.717,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35441,
    "c": 0.17524,
    "h": 275.4
  },
  "luminance": 0.03832
}

Semantic roles & 50–950 ramp

primary
#2A2394
secondary
#B6BC57
accent
#E543DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2A2394

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

Preview Lab → · Contrast checker → · Palette generator →

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