#344787#344787

#344787 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.7% C 0.109 H 268.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#344787
RGBrgb(52, 71, 135)
HSLhsl(226, 44%, 37%)
HSVhsv(226, 61%, 53%)
CMYKcmyk(61.5%, 47.4%, 0%, 47.1%)
CIE-LABlab(31.77, 13.58, -38.18)
CIE-LCHlch(31.77, 40.52, 289.58°)
OKLaboklab(41.68% -0.0021 -0.1089)
OKLCHoklch(41.68% 0.109 268.9)
XYZxyz(8.0411, 6.9852, 23.8415)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344787 #877434
analogous
#347187 #344787 #4B3487
triadic
#344787 #873447 #478734
tetradic
#344787 #873471 #877434 #34874B
square
#344787 #873471 #877434 #34874B
split-complementary
#344787 #874B34 #718734
monochromatic
#12192F #23305B #344787 #455EB3 #6E83C7

Accessibility & contrast

On white

8.76
#344787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#344787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344787
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344787#FFFFFF#000000##FFFFFF
##3447871.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F89
Deuteranopia (green-blind)
#1C4786
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #344787;
/* rgb */ color: rgb(52, 71, 135);
/* oklch */ color: oklch(41.7% 0.109 268.9);
Tailwind
colors: {
  custom: {
    50: '#7379aa',
    500: '#344787',
    950: '#000000',
  },
}
SCSS
$custom: #344787;
$custom-light: #7379aa;
$custom-dark: #000000;
JSON
{
  "hex": "#344787",
  "rgb": {
    "r": 52,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 226.265,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41675,
    "c": 0.10897,
    "h": 268.9
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#344787
secondary
#AF9F67
accent
#B754D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #344787

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

Preview Lab → · Contrast checker → · Palette generator →

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