#343A88#343A88

#343A88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.128 H 275.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#343A88
RGBrgb(52, 58, 136)
HSLhsl(236, 45%, 37%)
HSVhsv(236, 62%, 53%)
CMYKcmyk(61.8%, 57.4%, 0%, 46.7%)
CIE-LABlab(28.20, 22.70, -44.55)
CIE-LCHlch(28.20, 50.00, 297.00°)
OKLaboklab(39% 0.0121 -0.1278)
OKLCHoklch(39% 0.128 275.4)
XYZxyz(7.3717, 5.5332, 23.9673)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A88 #888234
analogous
#346488 #343A88 #583488
triadic
#343A88 #88343A #3A8834
tetradic
#343A88 #883464 #888234 #348858
square
#343A88 #883464 #888234 #348858
split-complementary
#343A88 #885834 #648834
monochromatic
#12142F #23275C #343A88 #454DB4 #6F75C8

Accessibility & contrast

On white

9.97
#343A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#343A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A88
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A88#FFFFFF#000000##FFFFFF
##343A881.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #343a88;
/* rgb */ color: rgb(52, 58, 136);
/* oklch */ color: oklch(39.0% 0.128 275.4);
Tailwind
colors: {
  custom: {
    50: '#7470ab',
    500: '#343a88',
    950: '#000000',
  },
}
SCSS
$custom: #343a88;
$custom-light: #7470ab;
$custom-dark: #000000;
JSON
{
  "hex": "#343a88",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 235.714,
    "s": 44.681,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39,
    "c": 0.12841,
    "h": 275.4
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#343A88
secondary
#B0AB68
accent
#CB53D4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #343A88

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

Preview Lab → · Contrast checker → · Palette generator →

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