#343285#343285

#343285 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.135 H 278.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#343285
RGBrgb(52, 50, 133)
HSLhsl(241, 45%, 36%)
HSVhsv(241, 62%, 52%)
CMYKcmyk(60.9%, 62.4%, 0%, 47.8%)
CIE-LABlab(25.87, 26.96, -46.46)
CIE-LCHlch(25.87, 53.71, 300.13°)
OKLaboklab(37.2% 0.0203 -0.1335)
OKLCHoklch(37.2% 0.135 278.6)
XYZxyz(6.7891, 4.7042, 22.7360)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343285 #838532
analogous
#325985 #343285 #5D3285
triadic
#343285 #853432 #328534
tetradic
#343285 #853259 #838532 #32855D
square
#343285 #853259 #838532 #32855D
split-complementary
#343285 #855D32 #598532
monochromatic
#11112C #232159 #343285 #4543B1 #6D6AC7

Accessibility & contrast

On white

10.82
#343285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#343285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343285
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343285#FFFFFF#000000##FFFFFF
##3432851.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #343285;
/* rgb */ color: rgb(52, 50, 133);
/* oklch */ color: oklch(37.2% 0.135 278.6);
Tailwind
colors: {
  custom: {
    50: '#746aa9',
    500: '#343285',
    950: '#000000',
  },
}
SCSS
$custom: #343285;
$custom-light: #746aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#343285",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 241.446,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37201,
    "c": 0.13505,
    "h": 278.6
  },
  "luminance": 0.04705
}

Semantic roles & 50–950 ramp

primary
#343285
secondary
#ADAF64
accent
#D553D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #343285

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

Preview Lab → · Contrast checker → · Palette generator →

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