#343CCD#343CCD

#343CCD is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.6% C 0.218 H 271.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#343CCD
RGBrgb(52, 60, 205)
HSLhsl(237, 60%, 50%)
HSVhsv(237, 75%, 80%)
CMYKcmyk(74.6%, 70.7%, 0%, 19.6%)
CIE-LABlab(34.74, 45.66, -75.22)
CIE-LCHlch(34.74, 88.00, 301.26°)
OKLaboklab(45.64% 0.0059 -0.2177)
OKLCHoklch(45.64% 0.218 271.5)
XYZxyz(14.0477, 8.3681, 58.6206)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CCD #CDC534
analogous
#3488CD #343CCD #7934CD
triadic
#343CCD #CD343C #3CCD34
tetradic
#343CCD #CD3488 #CDC534 #34CD79
square
#343CCD #CD3488 #CDC534 #34CD79
split-complementary
#343CCD #CD7934 #88CD34
monochromatic
#1B1F6C #272D9D #343CCD #656BD9 #969AE5

Accessibility & contrast

On white

7.85
#343CCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#343CCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CCD
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CCD#FFFFFF#000000##FFFFFF
##343CCD1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#004ACA
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #343ccd;
/* rgb */ color: rgb(52, 60, 205);
/* oklch */ color: oklch(45.6% 0.218 271.5);
Tailwind
colors: {
  custom: {
    50: '#8373de',
    500: '#343ccd',
    950: '#000000',
  },
}
SCSS
$custom: #343ccd;
$custom-light: #8373de;
$custom-dark: #000000;
JSON
{
  "hex": "#343ccd",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 236.863,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45638,
    "c": 0.21779,
    "h": 271.5
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#343CCD
secondary
#D1CD8C
accent
#DB44E4
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #343CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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