#343A90#343A90

#343A90 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.140 H 275.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#343A90
RGBrgb(52, 58, 144)
HSLhsl(236, 47%, 38%)
HSVhsv(236, 64%, 56%)
CMYKcmyk(63.9%, 59.7%, 0%, 43.5%)
CIE-LABlab(28.82, 25.57, -48.49)
CIE-LCHlch(28.82, 54.82, 297.81°)
OKLaboklab(39.66% 0.0122 -0.1394)
OKLCHoklch(39.66% 0.14 275)
XYZxyz(7.9616, 5.7691, 27.0741)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A90 #908A34
analogous
#346890 #343A90 #5C3490
triadic
#343A90 #90343A #3A9034
tetradic
#343A90 #903468 #908A34 #34905C
square
#343A90 #903468 #908A34 #34905C
split-complementary
#343A90 #905C34 #689034
monochromatic
#141636 #242863 #343A90 #454DBC #7278CC

Accessibility & contrast

On white

9.75
#343A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#343A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A90
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A90#FFFFFF#000000##FFFFFF
##343A901.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #343a90;
/* rgb */ color: rgb(52, 58, 144);
/* oklch */ color: oklch(39.7% 0.140 275.0);
Tailwind
colors: {
  custom: {
    50: '#7670b1',
    500: '#343a90',
    950: '#000000',
  },
}
SCSS
$custom: #343a90;
$custom-light: #7670b1;
$custom-dark: #000000;
JSON
{
  "hex": "#343a90",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 236.087,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39657,
    "c": 0.13995,
    "h": 275
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#343A90
secondary
#B4B06B
accent
#CE51D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #343A90

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

Preview Lab → · Contrast checker → · Palette generator →

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