#343C90#343C90

#343C90 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.137 H 274.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#343C90
RGBrgb(52, 60, 144)
HSLhsl(235, 47%, 38%)
HSVhsv(235, 64%, 56%)
CMYKcmyk(63.9%, 58.3%, 0%, 43.5%)
CIE-LABlab(29.35, 24.24, -47.63)
CIE-LCHlch(29.35, 53.45, 296.97°)
OKLaboklab(40.05% 0.0103 -0.1369)
OKLCHoklch(40.05% 0.137 274.3)
XYZxyz(8.0644, 5.9747, 27.1084)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C90 #908834
analogous
#346A90 #343C90 #5A3490
triadic
#343C90 #90343C #3C9034
tetradic
#343C90 #90346A #908834 #34905A
square
#343C90 #90346A #908834 #34905A
split-complementary
#343C90 #905A34 #6A9034
monochromatic
#141736 #242963 #343C90 #4550BC #727ACC

Accessibility & contrast

On white

9.57
#343C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#343C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343C90
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C90#FFFFFF#000000##FFFFFF
##343C901.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343c90;
/* rgb */ color: rgb(52, 60, 144);
/* oklch */ color: oklch(40.0% 0.137 274.3);
Tailwind
colors: {
  custom: {
    50: '#7671b1',
    500: '#343c90',
    950: '#000000',
  },
}
SCSS
$custom: #343c90;
$custom-light: #7671b1;
$custom-dark: #000000;
JSON
{
  "hex": "#343c90",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 144
  },
  "hsl": {
    "h": 234.783,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.13727,
    "h": 274.3
  },
  "luminance": 0.05975
}

Semantic roles & 50–950 ramp

primary
#343C90
secondary
#B4AE6B
accent
#CB51D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #343C90

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

Preview Lab → · Contrast checker → · Palette generator →

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