#343A85#343A85

#343A85 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.124 H 275.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#343A85
RGBrgb(52, 58, 133)
HSLhsl(236, 44%, 36%)
HSVhsv(236, 61%, 52%)
CMYKcmyk(60.9%, 56.4%, 0%, 47.8%)
CIE-LABlab(27.98, 21.62, -43.05)
CIE-LCHlch(27.98, 48.17, 296.67°)
OKLaboklab(38.76% 0.012 -0.1234)
OKLCHoklch(38.76% 0.124 275.5)
XYZxyz(7.1615, 5.4491, 22.8601)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A85 #857F34
analogous
#346385 #343A85 #573485
triadic
#343A85 #85343A #3A8534
tetradic
#343A85 #853463 #857F34 #348557
square
#343A85 #853463 #857F34 #348557
split-complementary
#343A85 #855734 #638534
monochromatic
#12142D #232759 #343A85 #454DB1 #6D74C6

Accessibility & contrast

On white

10.05
#343A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#343A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A85
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A85#FFFFFF#000000##FFFFFF
##343A851.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064688
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #343a85;
/* rgb */ color: rgb(52, 58, 133);
/* oklch */ color: oklch(38.8% 0.124 275.5);
Tailwind
colors: {
  custom: {
    50: '#7470a9',
    500: '#343a85',
    950: '#000000',
  },
}
SCSS
$custom: #343a85;
$custom-light: #7470a9;
$custom-dark: #000000;
JSON
{
  "hex": "#343a85",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 235.556,
    "s": 43.784,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.124,
    "h": 275.5
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#343A85
secondary
#AEA967
accent
#CA54D4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #343A85

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

Preview Lab → · Contrast checker → · Palette generator →

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