#343155#343155

#343155 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.063 H 286.3°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#343155
RGBrgb(52, 49, 85)
HSLhsl(245, 27%, 26%)
HSVhsv(245, 42%, 33%)
CMYKcmyk(38.8%, 42.4%, 0%, 66.7%)
CIE-LABlab(22.24, 11.29, -21.40)
CIE-LCHlch(22.24, 24.20, 297.82°)
OKLaboklab(33.4% 0.0176 -0.06)
OKLCHoklch(33.4% 0.063 286.3)
XYZxyz(4.1537, 3.5824, 9.0652)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343155 #525531
analogous
#314055 #343155 #463155
triadic
#343155 #553431 #315534
tetradic
#343155 #553140 #525531 #315546
square
#343155 #553140 #525531 #315546
split-complementary
#343155 #554631 #405531
monochromatic
#0C0B13 #1C1B2E #343155 #4C477C #645EA2

Accessibility & contrast

On white

12.23
#343155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#343155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343155
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343155#FFFFFF#000000##FFFFFF
##3431551.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263656
Deuteranopia (green-blind)
#253454
Tritanopia (blue-blind)
#2B383F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #343155;
/* rgb */ color: rgb(52, 49, 85);
/* oklch */ color: oklch(33.4% 0.063 286.3);
Tailwind
colors: {
  custom: {
    50: '#6d6985',
    500: '#343155',
    950: '#000000',
  },
}
SCSS
$custom: #343155;
$custom-light: #6d6985;
$custom-dark: #000000;
JSON
{
  "hex": "#343155",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 245,
    "s": 26.866,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33404,
    "c": 0.06253,
    "h": 286.3
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#343155
secondary
#83865C
accent
#C365BB
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#07060B
muted
#7A7A7C

Preview Lab

Preview with #343155

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

Preview Lab → · Contrast checker → · Palette generator →

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