#343379#343379

#343379 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.4% C 0.116 H 279.6°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#343379
RGBrgb(52, 51, 121)
HSLhsl(241, 41%, 34%)
HSVhsv(241, 58%, 47%)
CMYKcmyk(57%, 57.9%, 0%, 52.5%)
CIE-LABlab(25.19, 22.09, -40.01)
CIE-LCHlch(25.19, 45.70, 298.90°)
OKLaboklab(36.4% 0.0193 -0.1146)
OKLCHoklch(36.4% 0.116 279.6)
XYZxyz(6.0501, 4.4778, 18.6309)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343379 #787933
analogous
#335579 #343379 #573379
triadic
#343379 #793433 #337934
tetradic
#343379 #793355 #787933 #337957
square
#343379 #793355 #787933 #337957
split-complementary
#343379 #795733 #557933
monochromatic
#0F0F23 #21214E #343379 #4745A4 #6967BF

Accessibility & contrast

On white

11.08
#343379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#343379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343379
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343379#FFFFFF#000000##FFFFFF
##3433791.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033E7B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#134350
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #343379;
/* rgb */ color: rgb(52, 51, 121);
/* oklch */ color: oklch(36.4% 0.116 279.6);
Tailwind
colors: {
  custom: {
    50: '#726aa0',
    500: '#343379',
    950: '#000000',
  },
}
SCSS
$custom: #343379;
$custom-light: #726aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#343379",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 240.857,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36397,
    "c": 0.11619,
    "h": 279.6
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#343379
secondary
#A6A761
accent
#D157CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #343379

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

Preview Lab → · Contrast checker → · Palette generator →

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