#343183#343183

#343183 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.134 H 279.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#343183
RGBrgb(52, 49, 131)
HSLhsl(242, 46%, 35%)
HSVhsv(242, 63%, 51%)
CMYKcmyk(60.3%, 62.6%, 0%, 48.6%)
CIE-LABlab(25.46, 26.92, -45.88)
CIE-LCHlch(25.46, 53.20, 300.40°)
OKLaboklab(36.84% 0.0214 -0.1318)
OKLCHoklch(36.84% 0.134 279.2)
XYZxyz(6.6099, 4.5649, 22.0011)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343183 #808331
analogous
#315783 #343183 #5D3183
triadic
#343183 #833431 #318334
tetradic
#343183 #833157 #808331 #31835D
square
#343183 #833157 #808331 #31835D
split-complementary
#343183 #835D31 #578331
monochromatic
#11102A #222056 #343183 #4642B0 #6B68C6

Accessibility & contrast

On white

10.98
#343183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#343183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343183
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343183#FFFFFF#000000##FFFFFF
##3431831.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#014555
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #343183;
/* rgb */ color: rgb(52, 49, 131);
/* oklch */ color: oklch(36.8% 0.134 279.2);
Tailwind
colors: {
  custom: {
    50: '#7469a8',
    500: '#343183',
    950: '#000000',
  },
}
SCSS
$custom: #343183;
$custom-light: #7469a8;
$custom-dark: #000000;
JSON
{
  "hex": "#343183",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 242.195,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.13357,
    "h": 279.2
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#343183
secondary
#ABAE62
accent
#D553D0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #343183

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

Preview Lab → · Contrast checker → · Palette generator →

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