#343087#343087

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

Color values

HEX#343087
RGBrgb(52, 48, 135)
HSLhsl(243, 48%, 36%)
HSVhsv(243, 64%, 53%)
CMYKcmyk(61.5%, 64.4%, 0%, 47.1%)
CIE-LABlab(25.54, 28.97, -48.25)
CIE-LCHlch(25.54, 56.28, 300.98°)
OKLaboklab(37.01% 0.0221 -0.1388)
OKLCHoklch(37.01% 0.141 279.1)
XYZxyz(6.8449, 4.5927, 23.4428)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343087 #838730
analogous
#305787 #343087 #5F3087
triadic
#343087 #873430 #308734
tetradic
#343087 #873057 #838730 #30875F
square
#343087 #873057 #838730 #30875F
split-complementary
#343087 #875F30 #578730
monochromatic
#11102D #23205A #343087 #4540B4 #6D68C9

Accessibility & contrast

On white

10.95
#343087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343087
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343087#FFFFFF#000000##FFFFFF
##3430871.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #343087;
/* rgb */ color: rgb(52, 48, 135);
/* oklch */ color: oklch(37.0% 0.141 279.1);
Tailwind
colors: {
  custom: {
    50: '#7568ab',
    500: '#343087',
    950: '#000000',
  },
}
SCSS
$custom: #343087;
$custom-light: #7568ab;
$custom-dark: #000000;
JSON
{
  "hex": "#343087",
  "rgb": {
    "r": 52,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 242.759,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37008,
    "c": 0.14055,
    "h": 279.1
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#343087
secondary
#ADB162
accent
#D751D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #343087

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

Preview Lab → · Contrast checker → · Palette generator →

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