#344CA5#344CA5

#344CA5 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.146 H 268.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#344CA5
RGBrgb(52, 76, 165)
HSLhsl(227, 52%, 43%)
HSVhsv(227, 68%, 65%)
CMYKcmyk(68.5%, 53.9%, 0%, 35.3%)
CIE-LABlab(35.23, 21.28, -50.84)
CIE-LCHlch(35.23, 55.11, 292.71°)
OKLaboklab(44.96% -0.0037 -0.1461)
OKLCHoklch(44.96% 0.146 268.5)
XYZxyz(10.7898, 8.6145, 36.6842)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344CA5 #A58D34
analogous
#3484A5 #344CA5 #5534A5
triadic
#344CA5 #A5344C #4CA534
tetradic
#344CA5 #A53484 #A58D34 #34A555
square
#344CA5 #A53484 #A58D34 #34A555
split-complementary
#344CA5 #A55534 #84A534
monochromatic
#172148 #253776 #344CA5 #4F68C7 #7D90D6

Accessibility & contrast

On white

7.71
#344CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#344CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344CA5
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344CA5#FFFFFF#000000##FFFFFF
##344CA51.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #344ca5;
/* rgb */ color: rgb(52, 76, 165);
/* oklch */ color: oklch(45.0% 0.146 268.5);
Tailwind
colors: {
  custom: {
    50: '#797dc0',
    500: '#344ca5',
    950: '#000000',
  },
}
SCSS
$custom: #344ca5;
$custom-light: #797dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#344ca5",
  "rgb": {
    "r": 52,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 227.257,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44956,
    "c": 0.14617,
    "h": 268.5
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#344CA5
secondary
#BFAF76
accent
#BD4CDC
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #344CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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