#343295#343295

#343295 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.157 H 277.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#343295
RGBrgb(52, 50, 149)
HSLhsl(241, 50%, 39%)
HSVhsv(241, 66%, 58%)
CMYKcmyk(65.1%, 66.4%, 0%, 41.6%)
CIE-LABlab(27.24, 32.55, -54.13)
CIE-LCHlch(27.24, 63.16, 301.01°)
OKLaboklab(38.63% 0.0191 -0.1561)
OKLCHoklch(38.63% 0.157 277)
XYZxyz(7.9798, 5.1805, 29.0074)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343295 #939532
analogous
#326295 #343295 #663295
triadic
#343295 #953432 #329534
tetradic
#343295 #953262 #939532 #329566
square
#343295 #953262 #939532 #329566
split-complementary
#343295 #956632 #629532
monochromatic
#141339 #242367 #343295 #4644C0 #7472D0

Accessibility & contrast

On white

10.31
#343295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#343295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343295
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343295#FFFFFF#000000##FFFFFF
##3432951.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #343295;
/* rgb */ color: rgb(52, 50, 149);
/* oklch */ color: oklch(38.6% 0.157 277.0);
Tailwind
colors: {
  custom: {
    50: '#786ab5',
    500: '#343295',
    950: '#000000',
  },
}
SCSS
$custom: #343295;
$custom-light: #786ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#343295",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 241.212,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38627,
    "c": 0.15724,
    "h": 277
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#343295
secondary
#B6B86B
accent
#D94FD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #343295

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

Preview Lab → · Contrast checker → · Palette generator →

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