#343DA5#343DA5

#343DA5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.165 H 273.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#343DA5
RGBrgb(52, 61, 165)
HSLhsl(235, 52%, 43%)
HSVhsv(235, 68%, 65%)
CMYKcmyk(68.5%, 63%, 0%, 35.3%)
CIE-LABlab(31.31, 31.13, -57.21)
CIE-LCHlch(31.31, 65.14, 298.55°)
OKLaboklab(42.03% 0.0091 -0.165)
OKLCHoklch(42.03% 0.165 273.1)
XYZxyz(9.8742, 6.7833, 36.3789)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DA5 #A59C34
analogous
#3476A5 #343DA5 #6334A5
triadic
#343DA5 #A5343D #3DA534
tetradic
#343DA5 #A53476 #A59C34 #34A563
square
#343DA5 #A53476 #A59C34 #34A563
split-complementary
#343DA5 #A56334 #76A534
monochromatic
#171B48 #252C76 #343DA5 #4F58C7 #7D84D6

Accessibility & contrast

On white

8.91
#343DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#343DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343DA5
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DA5#FFFFFF#000000##FFFFFF
##343DA51.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #343da5;
/* rgb */ color: rgb(52, 61, 165);
/* oklch */ color: oklch(42.0% 0.165 273.1);
Tailwind
colors: {
  custom: {
    50: '#7a72c1',
    500: '#343da5',
    950: '#000000',
  },
}
SCSS
$custom: #343da5;
$custom-light: #7a72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#343da5",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 235.221,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.16529,
    "h": 273.1
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#343DA5
secondary
#BFB976
accent
#D04CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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