#344CA7#344CA7

#344CA7 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.149 H 268.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#344CA7
RGBrgb(52, 76, 167)
HSLhsl(227, 53%, 43%)
HSVhsv(227, 69%, 65%)
CMYKcmyk(68.9%, 54.5%, 0%, 34.5%)
CIE-LABlab(35.38, 22.02, -51.80)
CIE-LCHlch(35.38, 56.28, 293.03°)
OKLaboklab(45.11% -0.0036 -0.1489)
OKLCHoklch(45.11% 0.149 268.6)
XYZxyz(10.9733, 8.6879, 37.6504)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344CA7 #A78F34
analogous
#3485A7 #344CA7 #5534A7
triadic
#344CA7 #A7344C #4CA734
tetradic
#344CA7 #A73485 #A78F34 #34A755
square
#344CA7 #A73485 #A78F34 #34A755
split-complementary
#344CA7 #A75534 #85A734
monochromatic
#17224A #253778 #344CA7 #5069C8 #7E91D7

Accessibility & contrast

On white

7.67
#344CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#344CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344CA7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344CA7#FFFFFF#000000##FFFFFF
##344CA71.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0759AA
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #344ca7;
/* rgb */ color: rgb(52, 76, 167);
/* oklch */ color: oklch(45.1% 0.149 268.6);
Tailwind
colors: {
  custom: {
    50: '#797dc2',
    500: '#344ca7',
    950: '#000000',
  },
}
SCSS
$custom: #344ca7;
$custom-light: #797dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#344ca7",
  "rgb": {
    "r": 52,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 227.478,
    "s": 52.511,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45111,
    "c": 0.14899,
    "h": 268.6
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#344CA7
secondary
#C0B177
accent
#BE4CDC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #344CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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