#343166#343166

#343166 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.090 H 283.2°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#343166
RGBrgb(52, 49, 102)
HSLhsl(243, 35%, 30%)
HSVhsv(243, 52%, 40%)
CMYKcmyk(49%, 52%, 0%, 60%)
CIE-LABlab(23.29, 16.89, -30.89)
CIE-LCHlch(23.29, 35.20, 298.67°)
OKLaboklab(34.54% 0.0205 -0.0878)
OKLCHoklch(34.54% 0.09 283.2)
XYZxyz(4.9120, 3.8858, 13.0590)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343166 #636631
analogous
#314966 #343166 #4F3166
triadic
#343166 #663431 #316634
tetradic
#343166 #663149 #636631 #31664F
square
#343166 #663149 #636631 #31664F
split-complementary
#343166 #664F31 #496631
monochromatic
#0B0A15 #1F1D3D #343166 #49458F #645FB2

Accessibility & contrast

On white

11.82
#343166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#343166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343166
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343166#FFFFFF#000000##FFFFFF
##3431661.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3968
Deuteranopia (green-blind)
#173665
Tritanopia (blue-blind)
#233C46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #343166;
/* rgb */ color: rgb(52, 49, 102);
/* oklch */ color: oklch(34.5% 0.090 283.2);
Tailwind
colors: {
  custom: {
    50: '#6f6992',
    500: '#343166',
    950: '#000000',
  },
}
SCSS
$custom: #343166;
$custom-light: #6f6992;
$custom-dark: #000000;
JSON
{
  "hex": "#343166",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 243.396,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34541,
    "c": 0.09013,
    "h": 283.2
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#343166
secondary
#94975C
accent
#CB5DC5
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #343166

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

Preview Lab → · Contrast checker → · Palette generator →

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