#344EA2#344EA2

#344EA2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.139 H 267.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#344EA2
RGBrgb(52, 78, 162)
HSLhsl(226, 51%, 42%)
HSVhsv(226, 68%, 64%)
CMYKcmyk(67.9%, 51.9%, 0%, 36.5%)
CIE-LABlab(35.57, 18.84, -48.49)
CIE-LCHlch(35.57, 52.02, 291.23°)
OKLaboklab(45.14% -0.0059 -0.1392)
OKLCHoklch(45.14% 0.139 267.6)
XYZxyz(10.6599, 8.7865, 35.3096)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344EA2 #A28834
analogous
#3485A2 #344EA2 #5134A2
triadic
#344EA2 #A2344E #4EA234
tetradic
#344EA2 #A23485 #A28834 #34A251
square
#344EA2 #A23485 #A28834 #34A251
split-complementary
#344EA2 #A25134 #85A234
monochromatic
#162145 #253874 #344EA2 #4D6AC6 #7C91D5

Accessibility & contrast

On white

7.62
#344EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#344EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344EA2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344EA2#FFFFFF#000000##FFFFFF
##344EA21.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #344ea2;
/* rgb */ color: rgb(52, 78, 162);
/* oklch */ color: oklch(45.1% 0.139 267.6);
Tailwind
colors: {
  custom: {
    50: '#787fbe',
    500: '#344ea2',
    950: '#000000',
  },
}
SCSS
$custom: #344ea2;
$custom-light: #787fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#344ea2",
  "rgb": {
    "r": 52,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 225.818,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.13931,
    "h": 267.6
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#344EA2
secondary
#BEAC74
accent
#B94DDB
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #344EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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