#343CA0#343CA0

#343CA0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.160 H 273.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#343CA0
RGBrgb(52, 60, 160)
HSLhsl(236, 51%, 42%)
HSVhsv(236, 68%, 63%)
CMYKcmyk(67.5%, 62.5%, 0%, 37.3%)
CIE-LABlab(30.64, 29.99, -55.29)
CIE-LCHlch(30.64, 62.90, 298.48°)
OKLaboklab(41.41% 0.0101 -0.1594)
OKLCHoklch(41.41% 0.16 273.6)
XYZxyz(9.3751, 6.4990, 34.0113)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CA0 #A09834
analogous
#3472A0 #343CA0 #6234A0
triadic
#343CA0 #A0343C #3CA034
tetradic
#343CA0 #A03472 #A09834 #34A062
square
#343CA0 #A03472 #A09834 #34A062
split-complementary
#343CA0 #A06234 #72A034
monochromatic
#161944 #252B72 #343CA0 #4C55C5 #7A81D4

Accessibility & contrast

On white

9.13
#343CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#343CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CA0
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CA0#FFFFFF#000000##FFFFFF
##343CA01.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343ca0;
/* rgb */ color: rgb(52, 60, 160);
/* oklch */ color: oklch(41.4% 0.160 273.6);
Tailwind
colors: {
  custom: {
    50: '#7971bd',
    500: '#343ca0',
    950: '#000000',
  },
}
SCSS
$custom: #343ca0;
$custom-light: #7971bd;
$custom-dark: #000000;
JSON
{
  "hex": "#343ca0",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 235.556,
    "s": 50.943,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41407,
    "c": 0.15972,
    "h": 273.6
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#343CA0
secondary
#BDB773
accent
#D04DDA
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343CA0

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

Preview Lab → · Contrast checker → · Palette generator →

#343CA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva