#343ACD#343ACD

#343ACD is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.3% C 0.220 H 271.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#343ACD
RGBrgb(52, 58, 205)
HSLhsl(238, 60%, 50%)
HSVhsv(238, 75%, 80%)
CMYKcmyk(74.6%, 71.7%, 0%, 19.6%)
CIE-LABlab(34.32, 46.82, -75.91)
CIE-LCHlch(34.32, 89.19, 301.66°)
OKLaboklab(45.34% 0.0068 -0.2197)
OKLCHoklch(45.34% 0.22 271.8)
XYZxyz(13.9450, 8.1625, 58.5864)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343ACD #CDC734
analogous
#3486CD #343ACD #7A34CD
triadic
#343ACD #CD343A #3ACD34
tetradic
#343ACD #CD3486 #CDC734 #34CD7A
square
#343ACD #CD3486 #CDC734 #34CD7A
split-complementary
#343ACD #CD7A34 #86CD34
monochromatic
#1B1E6C #272B9D #343ACD #656AD9 #9699E5

Accessibility & contrast

On white

7.98
#343ACD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#343ACD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343ACD
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343ACD#FFFFFF#000000##FFFFFF
##343ACD1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D1
Deuteranopia (green-blind)
#0049CA
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #343acd;
/* rgb */ color: rgb(52, 58, 205);
/* oklch */ color: oklch(45.3% 0.220 271.8);
Tailwind
colors: {
  custom: {
    50: '#8371de',
    500: '#343acd',
    950: '#000000',
  },
}
SCSS
$custom: #343acd;
$custom-light: #8371de;
$custom-dark: #000000;
JSON
{
  "hex": "#343acd",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 237.647,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45338,
    "c": 0.21983,
    "h": 271.8
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#343ACD
secondary
#D1CE8C
accent
#DD44E4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #343ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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