#343AA8#343AA8

#343AA8 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.173 H 273.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#343AA8
RGBrgb(52, 58, 168)
HSLhsl(237, 53%, 43%)
HSVhsv(237, 69%, 66%)
CMYKcmyk(69%, 65.5%, 0%, 34.1%)
CIE-LABlab(30.84, 34.12, -59.79)
CIE-LCHlch(30.84, 68.84, 299.71°)
OKLaboklab(41.77% 0.0112 -0.1726)
OKLCHoklch(41.77% 0.173 273.7)
XYZxyz(9.9948, 6.5824, 37.7820)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AA8 #A8A234
analogous
#3474A8 #343AA8 #6834A8
triadic
#343AA8 #A8343A #3AA834
tetradic
#343AA8 #A83474 #A8A234 #34A868
square
#343AA8 #A83474 #A8A234 #34A868
split-complementary
#343AA8 #A86834 #74A834
monochromatic
#171A4B #262A79 #343AA8 #5057C9 #7F84D7

Accessibility & contrast

On white

9.07
#343AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#343AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AA8
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AA8#FFFFFF#000000##FFFFFF
##343AA81.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343aa8;
/* rgb */ color: rgb(52, 58, 168);
/* oklch */ color: oklch(41.8% 0.173 273.7);
Tailwind
colors: {
  custom: {
    50: '#7b70c3',
    500: '#343aa8',
    950: '#000000',
  },
}
SCSS
$custom: #343aa8;
$custom-light: #7b70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#343aa8",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 236.897,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41766,
    "c": 0.17297,
    "h": 273.7
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#343AA8
secondary
#C0BD77
accent
#D54CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #343AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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