#343095#343095

#343095 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.160 H 277.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#343095
RGBrgb(52, 48, 149)
HSLhsl(242, 51%, 39%)
HSVhsv(242, 68%, 58%)
CMYKcmyk(65.1%, 67.8%, 0%, 41.6%)
CIE-LABlab(26.77, 33.81, -54.90)
CIE-LCHlch(26.77, 64.48, 301.62°)
OKLaboklab(38.29% 0.0208 -0.1583)
OKLCHoklch(38.29% 0.16 277.5)
XYZxyz(7.8962, 5.0133, 28.9795)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343095 #919530
analogous
#305E95 #343095 #663095
triadic
#343095 #953430 #309534
tetradic
#343095 #95305E #919530 #309566
square
#343095 #95305E #919530 #309566
split-complementary
#343095 #956630 #5E9530
monochromatic
#141238 #242167 #343095 #4641C2 #736FD1

Accessibility & contrast

On white

10.49
#343095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#343095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343095
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343095#FFFFFF#000000##FFFFFF
##3430951.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #343095;
/* rgb */ color: rgb(52, 48, 149);
/* oklch */ color: oklch(38.3% 0.160 277.5);
Tailwind
colors: {
  custom: {
    50: '#7869b5',
    500: '#343095',
    950: '#000000',
  },
}
SCSS
$custom: #343095;
$custom-light: #7869b5;
$custom-dark: #000000;
JSON
{
  "hex": "#343095",
  "rgb": {
    "r": 52,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 242.376,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38286,
    "c": 0.15969,
    "h": 277.5
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#343095
secondary
#B5B869
accent
#DB4DD5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #343095

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

Preview Lab → · Contrast checker → · Palette generator →

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