#344FA4#344FA4

#344FA4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.141 H 267.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#344FA4
RGBrgb(52, 79, 164)
HSLhsl(226, 52%, 42%)
HSVhsv(226, 68%, 64%)
CMYKcmyk(68.3%, 51.8%, 0%, 35.7%)
CIE-LABlab(35.99, 18.92, -49.02)
CIE-LCHlch(35.99, 52.54, 291.11°)
OKLaboklab(45.51% -0.0066 -0.1407)
OKLCHoklch(45.51% 0.141 267.3)
XYZxyz(10.9107, 9.0013, 36.2772)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344FA4 #A48934
analogous
#3487A4 #344FA4 #5134A4
triadic
#344FA4 #A4344F #4FA434
tetradic
#344FA4 #A43487 #A48934 #34A451
square
#344FA4 #A43487 #A48934 #34A451
split-complementary
#344FA4 #A45134 #87A434
monochromatic
#172247 #253976 #344FA4 #4E6BC7 #7D92D6

Accessibility & contrast

On white

7.50
#344FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#344FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344FA4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344FA4#FFFFFF#000000##FFFFFF
##344FA41.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5AA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #344fa4;
/* rgb */ color: rgb(52, 79, 164);
/* oklch */ color: oklch(45.5% 0.141 267.3);
Tailwind
colors: {
  custom: {
    50: '#797fc0',
    500: '#344fa4',
    950: '#000000',
  },
}
SCSS
$custom: #344fa4;
$custom-light: #797fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#344fa4",
  "rgb": {
    "r": 52,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 225.536,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45505,
    "c": 0.14087,
    "h": 267.3
  },
  "luminance": 0.09002
}

Semantic roles & 50–950 ramp

primary
#344FA4
secondary
#BFAD75
accent
#B94CDB
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #344FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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