#342599#342599

#342599 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.177 H 279.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#342599
RGBrgb(52, 37, 153)
HSLhsl(248, 61%, 37%)
HSVhsv(248, 76%, 60%)
CMYKcmyk(66%, 75.8%, 0%, 40%)
CIE-LABlab(24.80, 41.64, -60.59)
CIE-LCHlch(24.80, 73.52, 304.50°)
OKLaboklab(36.99% 0.028 -0.1749)
OKLCHoklch(36.99% 0.177 279.1)
XYZxyz(7.8257, 4.3525, 30.5585)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342599 #8A9925
analogous
#255099 #342599 #6E2599
triadic
#342599 #993425 #259934
tetradic
#342599 #992550 #8A9925 #25996E
square
#342599 #992550 #8A9925 #25996E
split-complementary
#342599 #996E25 #509925
monochromatic
#130D36 #231968 #342599 #4531CA #6F60D9

Accessibility & contrast

On white

11.23
#342599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#342599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342599
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342599#FFFFFF#000000##FFFFFF
##3425991.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #342599;
/* rgb */ color: rgb(52, 37, 153);
/* oklch */ color: oklch(37.0% 0.177 279.1);
Tailwind
colors: {
  custom: {
    50: '#7a62b8',
    500: '#342599',
    950: '#000000',
  },
}
SCSS
$custom: #342599;
$custom-light: #7a62b8;
$custom-dark: #000000;
JSON
{
  "hex": "#342599",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 247.759,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36995,
    "c": 0.17717,
    "h": 279.1
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#342599
secondary
#B1BE5C
accent
#E444CF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #342599

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

Preview Lab → · Contrast checker → · Palette generator →

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