#344AA5#344AA5

#344AA5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.149 H 269.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#344AA5
RGBrgb(52, 74, 165)
HSLhsl(228, 52%, 43%)
HSVhsv(228, 68%, 65%)
CMYKcmyk(68.5%, 55.2%, 0%, 35.3%)
CIE-LABlab(34.69, 22.60, -51.72)
CIE-LCHlch(34.69, 56.44, 293.61°)
OKLaboklab(44.55% -0.0019 -0.1487)
OKLCHoklch(44.55% 0.149 269.3)
XYZxyz(10.6542, 8.3432, 36.6389)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344AA5 #A58F34
analogous
#3482A5 #344AA5 #5734A5
triadic
#344AA5 #A5344A #4AA534
tetradic
#344AA5 #A53482 #A58F34 #34A557
square
#344AA5 #A53482 #A58F34 #34A557
split-complementary
#344AA5 #A55734 #82A534
monochromatic
#172048 #253576 #344AA5 #4F66C7 #7D8FD6

Accessibility & contrast

On white

7.87
#344AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#344AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344AA5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344AA5#FFFFFF#000000##FFFFFF
##344AA51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0157A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #344aa5;
/* rgb */ color: rgb(52, 74, 165);
/* oklch */ color: oklch(44.5% 0.149 269.3);
Tailwind
colors: {
  custom: {
    50: '#797cc0',
    500: '#344aa5',
    950: '#000000',
  },
}
SCSS
$custom: #344aa5;
$custom-light: #797cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#344aa5",
  "rgb": {
    "r": 52,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 228.319,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44546,
    "c": 0.14875,
    "h": 269.3
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#344AA5
secondary
#BFB176
accent
#C04CDC
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #344AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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