#344FA5#344FA5

#344FA5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.142 H 267.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#344FA5
RGBrgb(52, 79, 165)
HSLhsl(226, 52%, 43%)
HSVhsv(226, 68%, 65%)
CMYKcmyk(68.5%, 52.1%, 0%, 35.3%)
CIE-LABlab(36.06, 19.29, -49.50)
CIE-LCHlch(36.06, 53.13, 291.29°)
OKLaboklab(45.58% -0.0065 -0.1421)
OKLCHoklch(45.58% 0.142 267.4)
XYZxyz(11.0013, 9.0376, 36.7547)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344FA5 #A58A34
analogous
#3487A5 #344FA5 #5234A5
triadic
#344FA5 #A5344F #4FA534
tetradic
#344FA5 #A53487 #A58A34 #34A552
square
#344FA5 #A53487 #A58A34 #34A552
split-complementary
#344FA5 #A55234 #87A534
monochromatic
#172248 #253976 #344FA5 #4F6CC7 #7D93D6

Accessibility & contrast

On white

7.48
#344FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#344FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344FA5
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344FA5#FFFFFF#000000##FFFFFF
##344FA51.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #344fa5;
/* rgb */ color: rgb(52, 79, 165);
/* oklch */ color: oklch(45.6% 0.142 267.4);
Tailwind
colors: {
  custom: {
    50: '#797fc0',
    500: '#344fa5',
    950: '#000000',
  },
}
SCSS
$custom: #344fa5;
$custom-light: #797fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#344fa5",
  "rgb": {
    "r": 52,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 225.664,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4558,
    "c": 0.1423,
    "h": 267.4
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#344FA5
secondary
#BFAE76
accent
#B94CDC
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #344FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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