#344AA2#344AA2

#344AA2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.145 H 269.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#344AA2
RGBrgb(52, 74, 162)
HSLhsl(228, 51%, 42%)
HSVhsv(228, 68%, 64%)
CMYKcmyk(67.9%, 54.3%, 0%, 36.5%)
CIE-LABlab(34.47, 21.49, -50.27)
CIE-LCHlch(34.47, 54.67, 293.15°)
OKLaboklab(44.31% -0.0021 -0.1445)
OKLCHoklch(44.31% 0.145 269.2)
XYZxyz(10.3843, 8.2353, 35.2177)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344AA2 #A28C34
analogous
#3481A2 #344AA2 #5534A2
triadic
#344AA2 #A2344A #4AA234
tetradic
#344AA2 #A23481 #A28C34 #34A255
square
#344AA2 #A23481 #A28C34 #34A255
split-complementary
#344AA2 #A25534 #81A234
monochromatic
#162045 #253574 #344AA2 #4D65C6 #7C8DD5

Accessibility & contrast

On white

7.93
#344AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#344AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344AA2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344AA2#FFFFFF#000000##FFFFFF
##344AA21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #344aa2;
/* rgb */ color: rgb(52, 74, 162);
/* oklch */ color: oklch(44.3% 0.145 269.2);
Tailwind
colors: {
  custom: {
    50: '#797cbe',
    500: '#344aa2',
    950: '#000000',
  },
}
SCSS
$custom: #344aa2;
$custom-light: #797cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#344aa2",
  "rgb": {
    "r": 52,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 228,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44311,
    "c": 0.14451,
    "h": 269.2
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#344AA2
secondary
#BEAF74
accent
#BE4DDB
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #344AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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