#343B90#343B90

#343B90 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.139 H 274.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#343B90
RGBrgb(52, 59, 144)
HSLhsl(235, 47%, 38%)
HSVhsv(235, 64%, 56%)
CMYKcmyk(63.9%, 59%, 0%, 43.5%)
CIE-LABlab(29.08, 24.91, -48.06)
CIE-LCHlch(29.08, 54.13, 297.39°)
OKLaboklab(39.85% 0.0112 -0.1382)
OKLCHoklch(39.85% 0.139 274.7)
XYZxyz(8.0125, 5.8710, 27.0911)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B90 #908934
analogous
#346990 #343B90 #5B3490
triadic
#343B90 #90343B #3B9034
tetradic
#343B90 #903469 #908934 #34905B
square
#343B90 #903469 #908934 #34905B
split-complementary
#343B90 #905B34 #699034
monochromatic
#141636 #242963 #343B90 #454EBC #7279CC

Accessibility & contrast

On white

9.66
#343B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#343B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B90
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B90#FFFFFF#000000##FFFFFF
##343B901.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #343b90;
/* rgb */ color: rgb(52, 59, 144);
/* oklch */ color: oklch(39.9% 0.139 274.7);
Tailwind
colors: {
  custom: {
    50: '#7671b1',
    500: '#343b90',
    950: '#000000',
  },
}
SCSS
$custom: #343b90;
$custom-light: #7671b1;
$custom-dark: #000000;
JSON
{
  "hex": "#343b90",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 144
  },
  "hsl": {
    "h": 235.435,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39852,
    "c": 0.13862,
    "h": 274.7
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#343B90
secondary
#B4AF6B
accent
#CC51D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #343B90

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

Preview Lab → · Contrast checker → · Palette generator →

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