#343278#343278

#343278 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.1% C 0.116 H 280.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#343278
RGBrgb(52, 50, 120)
HSLhsl(242, 41%, 33%)
HSVhsv(242, 58%, 47%)
CMYKcmyk(56.7%, 58.3%, 0%, 52.9%)
CIE-LABlab(24.85, 22.41, -39.93)
CIE-LCHlch(24.85, 45.79, 299.30°)
OKLaboklab(36.12% 0.0204 -0.1143)
OKLCHoklch(36.12% 0.116 280.1)
XYZxyz(5.9459, 4.3670, 18.2953)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343278 #767832
analogous
#325378 #343278 #573278
triadic
#343278 #783432 #327834
tetradic
#343278 #783253 #767832 #327857
square
#343278 #783253 #767832 #327857
split-complementary
#343278 #785732 #537832
monochromatic
#0F0E22 #21204D #343278 #4744A3 #6865BF

Accessibility & contrast

On white

11.21
#343278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#343278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343278
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343278#FFFFFF#000000##FFFFFF
##3432781.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013E7A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#144250
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #343278;
/* rgb */ color: rgb(52, 50, 120);
/* oklch */ color: oklch(36.1% 0.116 280.1);
Tailwind
colors: {
  custom: {
    50: '#726a9f',
    500: '#343278',
    950: '#000000',
  },
}
SCSS
$custom: #343278;
$custom-light: #726a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#343278",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 241.714,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36118,
    "c": 0.11615,
    "h": 280.1
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#343278
secondary
#A5A75F
accent
#D157CE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #343278

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

Preview Lab → · Contrast checker → · Palette generator →

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