#344197#344197

#344197 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.141 H 272.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#344197
RGBrgb(52, 65, 151)
HSLhsl(232, 49%, 40%)
HSVhsv(232, 66%, 59%)
CMYKcmyk(65.6%, 57%, 0%, 40.8%)
CIE-LABlab(31.22, 23.45, -48.88)
CIE-LCHlch(31.22, 54.22, 295.62°)
OKLaboklab(41.61% 0.0056 -0.1405)
OKLCHoklch(41.61% 0.141 272.3)
XYZxyz(8.8905, 6.7442, 30.1054)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344197 #978A34
analogous
#347397 #344197 #583497
triadic
#344197 #973441 #419734
tetradic
#344197 #973473 #978A34 #349758
square
#344197 #973473 #978A34 #349758
split-complementary
#344197 #975834 #739734
monochromatic
#151A3C #242D69 #344197 #4858C0 #7682D0

Accessibility & contrast

On white

8.94
#344197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#344197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344197
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344197#FFFFFF#000000##FFFFFF
##3441971.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #344197;
/* rgb */ color: rgb(52, 65, 151);
/* oklch */ color: oklch(41.6% 0.141 272.3);
Tailwind
colors: {
  custom: {
    50: '#7775b6',
    500: '#344197',
    950: '#000000',
  },
}
SCSS
$custom: #344197;
$custom-light: #7775b6;
$custom-dark: #000000;
JSON
{
  "hex": "#344197",
  "rgb": {
    "r": 52,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 232.121,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41612,
    "c": 0.14063,
    "h": 272.3
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#344197
secondary
#B8AE6F
accent
#C64FD8
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #344197

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

Preview Lab → · Contrast checker → · Palette generator →

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