#343AAA#343AAA

#343AAA is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.176 H 273.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#343AAA
RGBrgb(52, 58, 170)
HSLhsl(237, 53%, 44%)
HSVhsv(237, 69%, 67%)
CMYKcmyk(69.4%, 65.9%, 0%, 33.3%)
CIE-LABlab(31.01, 34.82, -60.70)
CIE-LCHlch(31.01, 69.98, 299.84°)
OKLaboklab(41.95% 0.011 -0.1753)
OKLCHoklch(41.95% 0.176 273.6)
XYZxyz(10.1825, 6.6575, 38.7708)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AAA #AAA434
analogous
#3475AA #343AAA #6934AA
triadic
#343AAA #AA343A #3AAA34
tetradic
#343AAA #AA3475 #AAA434 #34AA69
square
#343AAA #AA3475 #AAA434 #34AA69
split-complementary
#343AAA #AA6934 #75AA34
monochromatic
#171A4C #262A7B #343AAA #5157CA #8085D8

Accessibility & contrast

On white

9.01
#343AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#343AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AAA
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AAA#FFFFFF#000000##FFFFFF
##343AAA1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343aaa;
/* rgb */ color: rgb(52, 58, 170);
/* oklch */ color: oklch(41.9% 0.176 273.6);
Tailwind
colors: {
  custom: {
    50: '#7b70c4',
    500: '#343aaa',
    950: '#000000',
  },
}
SCSS
$custom: #343aaa;
$custom-light: #7b70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#343aaa",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 236.949,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4195,
    "c": 0.17561,
    "h": 273.6
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#343AAA
secondary
#C1BE78
accent
#D54BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #343AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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