#343CC9#343CC9

#343CC9 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.2% C 0.213 H 271.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#343CC9
RGBrgb(52, 60, 201)
HSLhsl(237, 59%, 50%)
HSVhsv(237, 74%, 79%)
CMYKcmyk(74.1%, 70.1%, 0%, 21.2%)
CIE-LABlab(34.35, 44.31, -73.54)
CIE-LCHlch(34.35, 85.85, 301.07°)
OKLaboklab(45.24% 0.0064 -0.2128)
OKLCHoklch(45.24% 0.213 271.7)
XYZxyz(13.5711, 8.1774, 56.1102)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CC9 #C9C134
analogous
#3486C9 #343CC9 #7734C9
triadic
#343CC9 #C9343C #3CC934
tetradic
#343CC9 #C93486 #C9C134 #34C977
square
#343CC9 #C93486 #C9C134 #34C977
split-complementary
#343CC9 #C97734 #86C934
monochromatic
#1B1F68 #272D98 #343CC9 #636AD7 #9498E3

Accessibility & contrast

On white

7.97
#343CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#343CC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CC9
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CC9#FFFFFF#000000##FFFFFF
##343CC91.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#004AC6
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #343cc9;
/* rgb */ color: rgb(52, 60, 201);
/* oklch */ color: oklch(45.2% 0.213 271.7);
Tailwind
colors: {
  custom: {
    50: '#8273db',
    500: '#343cc9',
    950: '#000000',
  },
}
SCSS
$custom: #343cc9;
$custom-light: #8273db;
$custom-dark: #000000;
JSON
{
  "hex": "#343cc9",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 201
  },
  "hsl": {
    "h": 236.779,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45243,
    "c": 0.21289,
    "h": 271.7
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#343CC9
secondary
#CECB8A
accent
#DA46E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #343CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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