#342592#342592

#342592 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.168 H 280.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#342592
RGBrgb(52, 37, 146)
HSLhsl(248, 60%, 36%)
HSVhsv(248, 75%, 57%)
CMYKcmyk(64.4%, 74.7%, 0%, 42.7%)
CIE-LABlab(24.09, 39.39, -57.46)
CIE-LCHlch(24.09, 69.66, 304.43°)
OKLaboklab(36.28% 0.0297 -0.1658)
OKLCHoklch(36.28% 0.168 280.1)
XYZxyz(7.2644, 4.1280, 27.6025)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342592 #839225
analogous
#254C92 #342592 #6A2592
triadic
#342592 #923425 #259234
tetradic
#342592 #92254C #839225 #25926A
square
#342592 #92254C #839225 #25926A
split-complementary
#342592 #926A25 #4C9225
monochromatic
#110C30 #231961 #342592 #4531C3 #6D5CD6

Accessibility & contrast

On white

11.50
#342592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#342592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342592
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342592#FFFFFF#000000##FFFFFF
##3425921.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #342592;
/* rgb */ color: rgb(52, 37, 146);
/* oklch */ color: oklch(36.3% 0.168 280.1);
Tailwind
colors: {
  custom: {
    50: '#7862b3',
    500: '#342592',
    950: '#000000',
  },
}
SCSS
$custom: #342592;
$custom-light: #7862b3;
$custom-dark: #000000;
JSON
{
  "hex": "#342592",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 248.257,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36276,
    "c": 0.16841,
    "h": 280.1
  },
  "luminance": 0.04129
}

Semantic roles & 50–950 ramp

primary
#342592
secondary
#ADBA58
accent
#E345CD
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #342592

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

Preview Lab → · Contrast checker → · Palette generator →

#342592 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva