#343188#343188

#343188 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.141 H 278.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#343188
RGBrgb(52, 49, 136)
HSLhsl(242, 47%, 36%)
HSVhsv(242, 64%, 53%)
CMYKcmyk(61.8%, 64%, 0%, 46.7%)
CIE-LABlab(25.87, 28.66, -48.33)
CIE-LCHlch(25.87, 56.19, 300.67°)
OKLaboklab(37.28% 0.0211 -0.139)
OKLCHoklch(37.28% 0.141 278.6)
XYZxyz(6.9570, 4.7038, 23.8291)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343188 #858831
analogous
#315A88 #343188 #603188
triadic
#343188 #883431 #318834
tetradic
#343188 #88315A #858831 #318860
square
#343188 #88315A #858831 #318860
split-complementary
#343188 #886031 #5A8831
monochromatic
#12112E #23215B #343188 #4541B5 #6D6AC9

Accessibility & contrast

On white

10.82
#343188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#343188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343188
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343188#FFFFFF#000000##FFFFFF
##3431881.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #343188;
/* rgb */ color: rgb(52, 49, 136);
/* oklch */ color: oklch(37.3% 0.141 278.6);
Tailwind
colors: {
  custom: {
    50: '#7569ab',
    500: '#343188',
    950: '#000000',
  },
}
SCSS
$custom: #343188;
$custom-light: #7569ab;
$custom-dark: #000000;
JSON
{
  "hex": "#343188",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 242.069,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37278,
    "c": 0.14063,
    "h": 278.6
  },
  "luminance": 0.04704
}

Semantic roles & 50–950 ramp

primary
#343188
secondary
#AEB164
accent
#D751D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #343188

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

Preview Lab → · Contrast checker → · Palette generator →

#343188 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva