#344D8A#344D8A

#344D8A is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.106 H 265.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#344D8A
RGBrgb(52, 77, 138)
HSLhsl(223, 45%, 37%)
HSVhsv(223, 62%, 54%)
CMYKcmyk(62.3%, 44.2%, 0%, 45.9%)
CIE-LABlab(33.72, 10.67, -36.92)
CIE-LCHlch(33.72, 38.43, 286.11°)
OKLaboklab(43.22% -0.0084 -0.1052)
OKLCHoklch(43.22% 0.106 265.5)
XYZxyz(8.6559, 7.8721, 25.1031)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344D8A #8A7134
analogous
#34788A #344D8A #46348A
triadic
#344D8A #8A344D #4D8A34
tetradic
#344D8A #8A3478 #8A7134 #348A46
square
#344D8A #8A3478 #8A7134 #348A46
split-complementary
#344D8A #8A4634 #788A34
monochromatic
#131B31 #23345E #344D8A #4566B6 #6F89C9

Accessibility & contrast

On white

8.16
#344D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#344D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344D8A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344D8A#FFFFFF#000000##FFFFFF
##344D8A1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #344d8a;
/* rgb */ color: rgb(52, 77, 138);
/* oklch */ color: oklch(43.2% 0.106 265.5);
Tailwind
colors: {
  custom: {
    50: '#747eac',
    500: '#344d8a',
    950: '#000000',
  },
}
SCSS
$custom: #344d8a;
$custom-light: #747eac;
$custom-dark: #000000;
JSON
{
  "hex": "#344d8a",
  "rgb": {
    "r": 52,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 222.558,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43224,
    "c": 0.10551,
    "h": 265.5
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#344D8A
secondary
#B19C69
accent
#AF53D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #344D8A

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

Preview Lab → · Contrast checker → · Palette generator →

#344D8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva