#344EA6#344EA6

#344EA6 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.145 H 267.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#344EA6
RGBrgb(52, 78, 166)
HSLhsl(226, 52%, 43%)
HSVhsv(226, 69%, 65%)
CMYKcmyk(68.7%, 53%, 0%, 34.9%)
CIE-LABlab(35.85, 20.32, -50.43)
CIE-LCHlch(35.85, 54.37, 291.95°)
OKLaboklab(45.45% -0.0055 -0.1449)
OKLCHoklch(45.45% 0.145 267.8)
XYZxyz(11.0211, 8.9309, 37.2120)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344EA6 #A68C34
analogous
#3487A6 #344EA6 #5334A6
triadic
#344EA6 #A6344E #4EA634
tetradic
#344EA6 #A63487 #A68C34 #34A653
square
#344EA6 #A63487 #A68C34 #34A653
split-complementary
#344EA6 #A65334 #87A634
monochromatic
#172249 #253877 #344EA6 #4F6BC8 #7E92D7

Accessibility & contrast

On white

7.54
#344EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#344EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344EA6
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344EA6#FFFFFF#000000##FFFFFF
##344EA61.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155AA9
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #344ea6;
/* rgb */ color: rgb(52, 78, 166);
/* oklch */ color: oklch(45.4% 0.145 267.8);
Tailwind
colors: {
  custom: {
    50: '#797fc1',
    500: '#344ea6',
    950: '#000000',
  },
}
SCSS
$custom: #344ea6;
$custom-light: #797fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#344ea6",
  "rgb": {
    "r": 52,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 226.316,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45447,
    "c": 0.145,
    "h": 267.8
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#344EA6
secondary
#C0AF76
accent
#BB4CDC
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #344EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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