#343185#343185

#343185 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.136 H 279.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#343185
RGBrgb(52, 49, 133)
HSLhsl(242, 46%, 36%)
HSVhsv(242, 63%, 52%)
CMYKcmyk(60.9%, 63.2%, 0%, 47.8%)
CIE-LABlab(25.62, 27.62, -46.87)
CIE-LCHlch(25.62, 54.40, 300.51°)
OKLaboklab(37.02% 0.0213 -0.1347)
OKLCHoklch(37.02% 0.136 279)
XYZxyz(6.7468, 4.6197, 22.7219)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343185 #828531
analogous
#315885 #343185 #5E3185
triadic
#343185 #853431 #318534
tetradic
#343185 #853158 #828531 #31855E
square
#343185 #853158 #828531 #31855E
split-complementary
#343185 #855E31 #588531
monochromatic
#11102C #232158 #343185 #4541B2 #6C69C8

Accessibility & contrast

On white

10.91
#343185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#343185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343185
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343185#FFFFFF#000000##FFFFFF
##3431851.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #343185;
/* rgb */ color: rgb(52, 49, 133);
/* oklch */ color: oklch(37.0% 0.136 279.0);
Tailwind
colors: {
  custom: {
    50: '#7469a9',
    500: '#343185',
    950: '#000000',
  },
}
SCSS
$custom: #343185;
$custom-light: #7469a9;
$custom-dark: #000000;
JSON
{
  "hex": "#343185",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 242.143,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37015,
    "c": 0.13641,
    "h": 279
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#343185
secondary
#ACAF63
accent
#D652D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #343185

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

Preview Lab → · Contrast checker → · Palette generator →

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