#343281#343281

#343281 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.129 H 279.1°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#343281
RGBrgb(52, 50, 129)
HSLhsl(242, 44%, 35%)
HSVhsv(242, 61%, 51%)
CMYKcmyk(59.7%, 61.2%, 0%, 49.4%)
CIE-LABlab(25.55, 25.56, -44.48)
CIE-LCHlch(25.55, 51.30, 299.89°)
OKLaboklab(36.86% 0.0204 -0.1277)
OKLCHoklch(36.86% 0.129 279.1)
XYZxyz(6.5180, 4.5958, 21.3082)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343281 #7F8132
analogous
#325781 #343281 #5B3281
triadic
#343281 #813432 #328134
tetradic
#343281 #813257 #7F8132 #32815B
square
#343281 #813257 #7F8132 #32815B
split-complementary
#343281 #815B32 #578132
monochromatic
#101029 #222155 #343281 #4643AD #6B69C5

Accessibility & contrast

On white

10.94
#343281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#343281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343281
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343281#FFFFFF#000000##FFFFFF
##3432811.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#054554
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #343281;
/* rgb */ color: rgb(52, 50, 129);
/* oklch */ color: oklch(36.9% 0.129 279.1);
Tailwind
colors: {
  custom: {
    50: '#746aa6',
    500: '#343281',
    950: '#000000',
  },
}
SCSS
$custom: #343281;
$custom-light: #746aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#343281",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 241.519,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3686,
    "c": 0.12933,
    "h": 279.1
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#343281
secondary
#AAAC62
accent
#D454D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #343281

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

Preview Lab → · Contrast checker → · Palette generator →

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