#343398#343398

#343398 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.160 H 276.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#343398
RGBrgb(52, 51, 152)
HSLhsl(241, 50%, 40%)
HSVhsv(241, 66%, 60%)
CMYKcmyk(65.8%, 66.4%, 0%, 40.4%)
CIE-LABlab(27.75, 32.95, -55.15)
CIE-LCHlch(27.75, 64.24, 300.86°)
OKLaboklab(39.08% 0.018 -0.159)
OKLCHoklch(39.08% 0.16 276.5)
XYZxyz(8.2656, 5.3640, 30.2995)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343398 #979833
analogous
#336598 #343398 #673398
triadic
#343398 #983433 #339834
tetradic
#343398 #983365 #979833 #339867
square
#343398 #983365 #979833 #339867
split-complementary
#343398 #986733 #659833
monochromatic
#15143C #24246A #343398 #4847C1 #7675D1

Accessibility & contrast

On white

10.13
#343398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#343398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343398
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343398#FFFFFF#000000##FFFFFF
##3433981.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #343398;
/* rgb */ color: rgb(52, 51, 152);
/* oklch */ color: oklch(39.1% 0.160 276.5);
Tailwind
colors: {
  custom: {
    50: '#786bb7',
    500: '#343398',
    950: '#000000',
  },
}
SCSS
$custom: #343398;
$custom-light: #786bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#343398",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 240.594,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39077,
    "c": 0.16005,
    "h": 276.5
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#343398
secondary
#B8B96E
accent
#D94FD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #343398

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

Preview Lab → · Contrast checker → · Palette generator →

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