#344291#344291

#344291 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.131 H 271.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#344291
RGBrgb(52, 66, 145)
HSLhsl(231, 47%, 39%)
HSVhsv(231, 64%, 57%)
CMYKcmyk(64.1%, 54.5%, 0%, 43.1%)
CIE-LABlab(31.04, 20.59, -45.50)
CIE-LCHlch(31.04, 49.94, 294.35°)
OKLaboklab(41.34% 0.0044 -0.1305)
OKLCHoklch(41.34% 0.131 271.9)
XYZxyz(8.4735, 6.6701, 27.6235)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344291 #918334
analogous
#347091 #344291 #543491
triadic
#344291 #913442 #429134
tetradic
#344291 #913470 #918334 #349154
square
#344291 #913470 #918334 #349154
split-complementary
#344291 #915434 #709134
monochromatic
#141937 #242D64 #344291 #4658BD #7380CD

Accessibility & contrast

On white

9.00
#344291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#344291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344291
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344291#FFFFFF#000000##FFFFFF
##3442911.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4D94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #344291;
/* rgb */ color: rgb(52, 66, 145);
/* oklch */ color: oklch(41.3% 0.131 271.9);
Tailwind
colors: {
  custom: {
    50: '#7676b2',
    500: '#344291',
    950: '#000000',
  },
}
SCSS
$custom: #344291;
$custom-light: #7676b2;
$custom-dark: #000000;
JSON
{
  "hex": "#344291",
  "rgb": {
    "r": 52,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 230.968,
    "s": 47.208,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41341,
    "c": 0.13062,
    "h": 271.9
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#344291
secondary
#B5AA6C
accent
#C351D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #344291

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

Preview Lab → · Contrast checker → · Palette generator →

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