#343FCA#343FCA

#343FCA is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.8% C 0.211 H 271.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#343FCA
RGBrgb(52, 63, 202)
HSLhsl(236, 59%, 50%)
HSVhsv(236, 74%, 79%)
CMYKcmyk(74.3%, 68.8%, 0%, 20.8%)
CIE-LABlab(35.10, 42.86, -72.89)
CIE-LCHlch(35.10, 84.55, 300.46°)
OKLaboklab(45.81% 0.0047 -0.2109)
OKLCHoklch(45.81% 0.211 271.3)
XYZxyz(13.8507, 8.5479, 56.7856)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FCA #CABF34
analogous
#348ACA #343FCA #7434CA
triadic
#343FCA #CA343F #3FCA34
tetradic
#343FCA #CA348A #CABF34 #34CA74
square
#343FCA #CA348A #CABF34 #34CA74
split-complementary
#343FCA #CA7434 #8ACA34
monochromatic
#1B2169 #273099 #343FCA #646DD7 #959BE4

Accessibility & contrast

On white

7.75
#343FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#343FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FCA
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FCA#FFFFFF#000000##FFFFFF
##343FCA1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#004BC7
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #343fca;
/* rgb */ color: rgb(52, 63, 202);
/* oklch */ color: oklch(45.8% 0.211 271.3);
Tailwind
colors: {
  custom: {
    50: '#8275db',
    500: '#343fca',
    950: '#000000',
  },
}
SCSS
$custom: #343fca;
$custom-light: #8275db;
$custom-dark: #000000;
JSON
{
  "hex": "#343fca",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 235.6,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45811,
    "c": 0.21094,
    "h": 271.3
  },
  "luminance": 0.08549
}

Semantic roles & 50–950 ramp

primary
#343FCA
secondary
#CFCA8B
accent
#D746E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #343FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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