#343AC5#343AC5

#343AC5 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.5% C 0.210 H 272.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#343AC5
RGBrgb(52, 58, 197)
HSLhsl(238, 58%, 49%)
HSVhsv(238, 74%, 77%)
CMYKcmyk(73.6%, 70.6%, 0%, 22.7%)
CIE-LABlab(33.53, 44.14, -72.55)
CIE-LCHlch(33.53, 84.92, 301.32°)
OKLaboklab(44.54% 0.008 -0.2099)
OKLCHoklch(44.54% 0.21 272.2)
XYZxyz(13.0039, 7.7860, 53.6300)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AC5 #C5BF34
analogous
#3483C5 #343AC5 #7734C5
triadic
#343AC5 #C5343A #3AC534
tetradic
#343AC5 #C53483 #C5BF34 #34C577
square
#343AC5 #C53483 #C5BF34 #34C577
split-complementary
#343AC5 #C57734 #83C534
monochromatic
#1A1D64 #272C95 #343AC5 #6166D5 #9195E2

Accessibility & contrast

On white

8.21
#343AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#343AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AC5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AC5#FFFFFF#000000##FFFFFF
##343AC51.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #343ac5;
/* rgb */ color: rgb(52, 58, 197);
/* oklch */ color: oklch(44.5% 0.210 272.2);
Tailwind
colors: {
  custom: {
    50: '#8271d8',
    500: '#343ac5',
    950: '#000000',
  },
}
SCSS
$custom: #343ac5;
$custom-light: #8271d8;
$custom-dark: #000000;
JSON
{
  "hex": "#343ac5",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 237.517,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.21005,
    "h": 272.2
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#343AC5
secondary
#CDCA88
accent
#DB46E1
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #343AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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