#344F8A#344F8A

#344F8A is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.103 H 264.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#344F8A
RGBrgb(52, 79, 138)
HSLhsl(221, 45%, 37%)
HSVhsv(221, 62%, 54%)
CMYKcmyk(62.3%, 42.8%, 0%, 45.9%)
CIE-LABlab(34.31, 9.34, -35.98)
CIE-LCHlch(34.31, 37.17, 284.56°)
OKLaboklab(43.68% -0.0106 -0.1024)
OKLCHoklch(43.68% 0.103 264.1)
XYZxyz(8.7980, 8.1562, 25.1505)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344F8A #8A6F34
analogous
#347A8A #344F8A #44348A
triadic
#344F8A #8A344F #4F8A34
tetradic
#344F8A #8A347A #8A6F34 #348A44
square
#344F8A #8A347A #8A6F34 #348A44
split-complementary
#344F8A #8A4434 #7A8A34
monochromatic
#131C31 #23365E #344F8A #4568B6 #6F8CC9

Accessibility & contrast

On white

7.98
#344F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#344F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344F8A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344F8A#FFFFFF#000000##FFFFFF
##344F8A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#294D89
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #344f8a;
/* rgb */ color: rgb(52, 79, 138);
/* oklch */ color: oklch(43.7% 0.103 264.1);
Tailwind
colors: {
  custom: {
    50: '#747fac',
    500: '#344f8a',
    950: '#000000',
  },
}
SCSS
$custom: #344f8a;
$custom-light: #747fac;
$custom-dark: #000000;
JSON
{
  "hex": "#344f8a",
  "rgb": {
    "r": 52,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 221.163,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43679,
    "c": 0.10294,
    "h": 264.1
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#344F8A
secondary
#B19A69
accent
#AC53D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #344F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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