#343390#343390

#343390 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.149 H 277.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#343390
RGBrgb(52, 51, 144)
HSLhsl(241, 48%, 38%)
HSVhsv(241, 65%, 56%)
CMYKcmyk(63.9%, 64.6%, 0%, 43.5%)
CIE-LABlab(27.05, 30.16, -51.37)
CIE-LCHlch(27.05, 59.57, 300.42°)
OKLaboklab(38.35% 0.0187 -0.148)
OKLCHoklch(38.35% 0.149 277.2)
XYZxyz(7.6324, 5.1107, 26.9644)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343390 #8F9033
analogous
#336090 #343390 #623390
triadic
#343390 #903433 #339034
tetradic
#343390 #903360 #8F9033 #339062
square
#343390 #903360 #8F9033 #339062
split-complementary
#343390 #906233 #609033
monochromatic
#131336 #242363 #343390 #4544BD #7271CD

Accessibility & contrast

On white

10.38
#343390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#343390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343390
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343390#FFFFFF#000000##FFFFFF
##3433901.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #343390;
/* rgb */ color: rgb(52, 51, 144);
/* oklch */ color: oklch(38.4% 0.149 277.2);
Tailwind
colors: {
  custom: {
    50: '#766bb1',
    500: '#343390',
    950: '#000000',
  },
}
SCSS
$custom: #343390;
$custom-light: #766bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#343390",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 240.645,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3835,
    "c": 0.14915,
    "h": 277.2
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#343390
secondary
#B4B56A
accent
#D751D6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #343390

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

Preview Lab → · Contrast checker → · Palette generator →

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