#343EA9#343EA9

#343EA9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.169 H 272.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#343EA9
RGBrgb(52, 62, 169)
HSLhsl(235, 53%, 43%)
HSVhsv(235, 69%, 66%)
CMYKcmyk(69.2%, 63.3%, 0%, 33.7%)
CIE-LABlab(31.90, 31.92, -58.66)
CIE-LCHlch(31.90, 66.78, 298.55°)
OKLaboklab(42.57% 0.0081 -0.1693)
OKLCHoklch(42.57% 0.169 272.7)
XYZxyz(10.2978, 7.0389, 38.3444)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EA9 #A99F34
analogous
#3478A9 #343EA9 #6434A9
triadic
#343EA9 #A9343E #3EA934
tetradic
#343EA9 #A93478 #A99F34 #34A964
square
#343EA9 #A93478 #A99F34 #34A964
split-complementary
#343EA9 #A96434 #78A934
monochromatic
#171C4B #262D7A #343EA9 #515BC9 #8087D8

Accessibility & contrast

On white

8.72
#343EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#343EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EA9
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EA9#FFFFFF#000000##FFFFFF
##343EA91.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343ea9;
/* rgb */ color: rgb(52, 62, 169);
/* oklch */ color: oklch(42.6% 0.169 272.7);
Tailwind
colors: {
  custom: {
    50: '#7b73c3',
    500: '#343ea9',
    950: '#000000',
  },
}
SCSS
$custom: #343ea9;
$custom-light: #7b73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#343ea9",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 234.872,
    "s": 52.941,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.16945,
    "h": 272.7
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#343EA9
secondary
#C1BB78
accent
#D04BDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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