#343385#343385

#343385 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.134 H 278.3°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#343385
RGBrgb(52, 51, 133)
HSLhsl(241, 45%, 36%)
HSVhsv(241, 62%, 52%)
CMYKcmyk(60.9%, 61.7%, 0%, 47.8%)
CIE-LABlab(26.13, 26.30, -46.04)
CIE-LCHlch(26.13, 53.02, 299.74°)
OKLaboklab(37.39% 0.0193 -0.1323)
OKLCHoklch(37.39% 0.134 278.3)
XYZxyz(6.8323, 4.7907, 22.7504)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343385 #848533
analogous
#335B85 #343385 #5D3385
triadic
#343385 #853433 #338534
tetradic
#343385 #85335B #848533 #33855D
square
#343385 #85335B #848533 #33855D
split-complementary
#343385 #855D33 #5B8533
monochromatic
#11112D #232259 #343385 #4544B1 #6D6CC7

Accessibility & contrast

On white

10.72
#343385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#343385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343385
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343385#FFFFFF#000000##FFFFFF
##3433851.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #343385;
/* rgb */ color: rgb(52, 51, 133);
/* oklch */ color: oklch(37.4% 0.134 278.3);
Tailwind
colors: {
  custom: {
    50: '#746ba9',
    500: '#343385',
    950: '#000000',
  },
}
SCSS
$custom: #343385;
$custom-light: #746ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#343385",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 240.732,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37388,
    "c": 0.1337,
    "h": 278.3
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#343385
secondary
#AEAE65
accent
#D454D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #343385

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

Preview Lab → · Contrast checker → · Palette generator →

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