#343CAB#343CAB

#343CAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.175 H 273.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#343CAB
RGBrgb(52, 60, 171)
HSLhsl(236, 53%, 44%)
HSVhsv(236, 70%, 67%)
CMYKcmyk(69.6%, 64.9%, 0%, 32.9%)
CIE-LABlab(31.58, 33.91, -60.37)
CIE-LCHlch(31.58, 69.24, 299.32°)
OKLaboklab(42.39% 0.0095 -0.1743)
OKLCHoklch(42.39% 0.175 273.1)
XYZxyz(10.3803, 6.9011, 39.3052)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CAB #ABA334
analogous
#3477AB #343CAB #6734AB
triadic
#343CAB #AB343C #3CAB34
tetradic
#343CAB #AB3477 #ABA334 #34AB67
square
#343CAB #AB3477 #ABA334 #34AB67
split-complementary
#343CAB #AB6734 #77AB34
monochromatic
#171B4D #262C7C #343CAB #525ACA #8187D9

Accessibility & contrast

On white

8.82
#343CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#343CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CAB
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CAB#FFFFFF#000000##FFFFFF
##343CAB1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #343cab;
/* rgb */ color: rgb(52, 60, 171);
/* oklch */ color: oklch(42.4% 0.175 273.1);
Tailwind
colors: {
  custom: {
    50: '#7b72c5',
    500: '#343cab',
    950: '#000000',
  },
}
SCSS
$custom: #343cab;
$custom-light: #7b72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#343cab",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 235.966,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.17456,
    "h": 273.1
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#343CAB
secondary
#C2BD79
accent
#D34BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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