#343BC5#343BC5

#343BC5 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.7% C 0.209 H 272.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#343BC5
RGBrgb(52, 59, 197)
HSLhsl(237, 58%, 49%)
HSVhsv(237, 74%, 77%)
CMYKcmyk(73.6%, 70.1%, 0%, 22.7%)
CIE-LABlab(33.75, 43.54, -72.19)
CIE-LCHlch(33.75, 84.31, 301.10°)
OKLaboklab(44.69% 0.0074 -0.2089)
OKLCHoklch(44.69% 0.209 272)
XYZxyz(13.0548, 7.8879, 53.6470)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BC5 #C5BE34
analogous
#3484C5 #343BC5 #7634C5
triadic
#343BC5 #C5343B #3BC534
tetradic
#343BC5 #C53484 #C5BE34 #34C576
square
#343BC5 #C53484 #C5BE34 #34C576
split-complementary
#343BC5 #C57634 #84C534
monochromatic
#1A1E64 #272D95 #343BC5 #6167D5 #9195E2

Accessibility & contrast

On white

8.15
#343BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#343BC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BC5
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BC5#FFFFFF#000000##FFFFFF
##343BC51.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343bc5;
/* rgb */ color: rgb(52, 59, 197);
/* oklch */ color: oklch(44.7% 0.209 272.0);
Tailwind
colors: {
  custom: {
    50: '#8172d8',
    500: '#343bc5',
    950: '#000000',
  },
}
SCSS
$custom: #343bc5;
$custom-light: #8172d8;
$custom-dark: #000000;
JSON
{
  "hex": "#343bc5",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 237.103,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44694,
    "c": 0.209,
    "h": 272
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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