#344F87#344F87

#344F87 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.098 H 263.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#344F87
RGBrgb(52, 79, 135)
HSLhsl(220, 44%, 37%)
HSVhsv(220, 61%, 53%)
CMYKcmyk(61.5%, 41.5%, 0%, 47.1%)
CIE-LABlab(34.13, 8.25, -34.42)
CIE-LCHlch(34.13, 35.40, 283.48°)
OKLaboklab(43.49% -0.0113 -0.0978)
OKLCHoklch(43.49% 0.098 263.4)
XYZxyz(8.5838, 8.0706, 24.0224)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344F87 #876C34
analogous
#347987 #344F87 #433487
triadic
#344F87 #87344F #4F8734
tetradic
#344F87 #873479 #876C34 #348743
square
#344F87 #873479 #876C34 #348743
split-complementary
#344F87 #874334 #798734
monochromatic
#121B2F #23355B #344F87 #4569B3 #6E8BC7

Accessibility & contrast

On white

8.03
#344F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#344F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344F87
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344F87#FFFFFF#000000##FFFFFF
##344F871.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375489
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #344f87;
/* rgb */ color: rgb(52, 79, 135);
/* oklch */ color: oklch(43.5% 0.098 263.4);
Tailwind
colors: {
  custom: {
    50: '#7380aa',
    500: '#344f87',
    950: '#000000',
  },
}
SCSS
$custom: #344f87;
$custom-light: #7380aa;
$custom-dark: #000000;
JSON
{
  "hex": "#344f87",
  "rgb": {
    "r": 52,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 220.482,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43485,
    "c": 0.09847,
    "h": 263.4
  },
  "luminance": 0.08071
}

Semantic roles & 50–950 ramp

primary
#344F87
secondary
#AF9867
accent
#AA54D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #344F87

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

Preview Lab → · Contrast checker → · Palette generator →

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