#344786#344786

#344786 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.107 H 268.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#344786
RGBrgb(52, 71, 134)
HSLhsl(226, 44%, 36%)
HSVhsv(226, 61%, 53%)
CMYKcmyk(61.2%, 47%, 0%, 47.5%)
CIE-LABlab(31.71, 13.22, -37.66)
CIE-LCHlch(31.71, 39.92, 289.33°)
OKLaboklab(41.61% -0.0023 -0.1074)
OKLCHoklch(41.61% 0.107 268.8)
XYZxyz(7.9710, 6.9571, 23.4724)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344786 #867334
analogous
#347086 #344786 #4A3486
triadic
#344786 #863447 #478634
tetradic
#344786 #863470 #867334 #34864A
square
#344786 #863470 #867334 #34864A
split-complementary
#344786 #864A34 #708634
monochromatic
#12182E #23305A #344786 #455EB2 #6E82C7

Accessibility & contrast

On white

8.78
#344786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#344786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344786
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344786#FFFFFF#000000##FFFFFF
##3447861.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E88
Deuteranopia (green-blind)
#1D4785
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #344786;
/* rgb */ color: rgb(52, 71, 134);
/* oklch */ color: oklch(41.6% 0.107 268.8);
Tailwind
colors: {
  custom: {
    50: '#7379aa',
    500: '#344786',
    950: '#000000',
  },
}
SCSS
$custom: #344786;
$custom-light: #7379aa;
$custom-dark: #000000;
JSON
{
  "hex": "#344786",
  "rgb": {
    "r": 52,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 226.098,
    "s": 44.086,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41605,
    "c": 0.10746,
    "h": 268.8
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#344786
secondary
#AF9E67
accent
#B654D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #344786

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

Preview Lab → · Contrast checker → · Palette generator →

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