#343189#343189

#343189 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.142 H 278.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#343189
RGBrgb(52, 49, 137)
HSLhsl(242, 47%, 36%)
HSVhsv(242, 64%, 54%)
CMYKcmyk(62%, 64.2%, 0%, 46.3%)
CIE-LABlab(25.96, 29.01, -48.81)
CIE-LCHlch(25.96, 56.79, 300.72°)
OKLaboklab(37.37% 0.021 -0.1405)
OKLCHoklch(37.37% 0.142 278.5)
XYZxyz(7.0284, 4.7323, 24.2051)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343189 #868931
analogous
#315A89 #343189 #603189
triadic
#343189 #893431 #318934
tetradic
#343189 #89315A #868931 #318960
square
#343189 #89315A #868931 #318960
split-complementary
#343189 #896031 #5A8931
monochromatic
#12112F #23215C #343189 #4541B6 #6E6BCA

Accessibility & contrast

On white

10.79
#343189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#343189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343189
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343189#FFFFFF#000000##FFFFFF
##3431891.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #343189;
/* rgb */ color: rgb(52, 49, 137);
/* oklch */ color: oklch(37.4% 0.142 278.5);
Tailwind
colors: {
  custom: {
    50: '#7569ac',
    500: '#343189',
    950: '#000000',
  },
}
SCSS
$custom: #343189;
$custom-light: #7569ac;
$custom-dark: #000000;
JSON
{
  "hex": "#343189",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 242.045,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37366,
    "c": 0.14203,
    "h": 278.5
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#343189
secondary
#AFB164
accent
#D751D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #343189

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

Preview Lab → · Contrast checker → · Palette generator →

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