#344EA5#344EA5

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

Color values

HEX#344EA5
RGBrgb(52, 78, 165)
HSLhsl(226, 52%, 43%)
HSVhsv(226, 68%, 65%)
CMYKcmyk(68.5%, 52.7%, 0%, 35.3%)
CIE-LABlab(35.78, 19.95, -49.95)
CIE-LCHlch(35.78, 53.79, 291.77°)
OKLaboklab(45.37% -0.0056 -0.1435)
OKLCHoklch(45.37% 0.144 267.8)
XYZxyz(10.9298, 8.8944, 36.7308)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344EA5 #A58B34
analogous
#3486A5 #344EA5 #5334A5
triadic
#344EA5 #A5344E #4EA534
tetradic
#344EA5 #A53486 #A58B34 #34A553
square
#344EA5 #A53486 #A58B34 #34A553
split-complementary
#344EA5 #A55334 #86A534
monochromatic
#172248 #253876 #344EA5 #4F6BC7 #7D92D6

Accessibility & contrast

On white

7.56
#344EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#344EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344EA5
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344EA5#FFFFFF#000000##FFFFFF
##344EA51.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175AA8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #344ea5;
/* rgb */ color: rgb(52, 78, 165);
/* oklch */ color: oklch(45.4% 0.144 267.8);
Tailwind
colors: {
  custom: {
    50: '#797fc0',
    500: '#344ea5',
    950: '#000000',
  },
}
SCSS
$custom: #344ea5;
$custom-light: #797fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#344ea5",
  "rgb": {
    "r": 52,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 226.195,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45371,
    "c": 0.14359,
    "h": 267.8
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #344EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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