#343E90#343E90

#343E90 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.135 H 273.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#343E90
RGBrgb(52, 62, 144)
HSLhsl(233, 47%, 38%)
HSVhsv(233, 64%, 56%)
CMYKcmyk(63.9%, 56.9%, 0%, 43.5%)
CIE-LABlab(29.88, 22.90, -46.77)
CIE-LCHlch(29.88, 52.07, 296.09°)
OKLaboklab(40.45% 0.0083 -0.1343)
OKLCHoklch(40.45% 0.135 273.5)
XYZxyz(8.1712, 6.1883, 27.1440)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E90 #908634
analogous
#346C90 #343E90 #583490
triadic
#343E90 #90343E #3E9034
tetradic
#343E90 #90346C #908634 #349058
square
#343E90 #90346C #908634 #349058
split-complementary
#343E90 #905834 #6C9034
monochromatic
#141736 #242B63 #343E90 #4552BC #727CCC

Accessibility & contrast

On white

9.38
#343E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#343E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343E90
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E90#FFFFFF#000000##FFFFFF
##343E901.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #343e90;
/* rgb */ color: rgb(52, 62, 144);
/* oklch */ color: oklch(40.4% 0.135 273.5);
Tailwind
colors: {
  custom: {
    50: '#7673b1',
    500: '#343e90',
    950: '#000000',
  },
}
SCSS
$custom: #343e90;
$custom-light: #7673b1;
$custom-dark: #000000;
JSON
{
  "hex": "#343e90",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 233.478,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40447,
    "c": 0.13458,
    "h": 273.5
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#343E90
secondary
#B4AC6B
accent
#C851D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #343E90

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

Preview Lab → · Contrast checker → · Palette generator →

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