#343288#343288

#343288 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.139 H 278.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#343288
RGBrgb(52, 50, 136)
HSLhsl(241, 46%, 36%)
HSVhsv(241, 63%, 53%)
CMYKcmyk(61.8%, 63.2%, 0%, 46.7%)
CIE-LABlab(26.12, 28.01, -47.92)
CIE-LCHlch(26.12, 55.51, 300.31°)
OKLaboklab(37.46% 0.0201 -0.1378)
OKLCHoklch(37.46% 0.139 278.3)
XYZxyz(6.9993, 4.7883, 23.8432)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343288 #868832
analogous
#325B88 #343288 #5F3288
triadic
#343288 #883432 #328834
tetradic
#343288 #88325B #868832 #32885F
square
#343288 #88325B #868832 #32885F
split-complementary
#343288 #885F32 #5B8832
monochromatic
#12112F #23225B #343288 #4542B5 #6E6CC9

Accessibility & contrast

On white

10.73
#343288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#343288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343288
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343288#FFFFFF#000000##FFFFFF
##3432881.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343288;
/* rgb */ color: rgb(52, 50, 136);
/* oklch */ color: oklch(37.5% 0.139 278.3);
Tailwind
colors: {
  custom: {
    50: '#756aab',
    500: '#343288',
    950: '#000000',
  },
}
SCSS
$custom: #343288;
$custom-light: #756aab;
$custom-dark: #000000;
JSON
{
  "hex": "#343288",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 241.395,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37461,
    "c": 0.1393,
    "h": 278.3
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#343288
secondary
#AFB065
accent
#D652D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #343288

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

Preview Lab → · Contrast checker → · Palette generator →

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