#344A97#344A97

#344A97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.129 H 268.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#344A97
RGBrgb(52, 74, 151)
HSLhsl(227, 49%, 40%)
HSVhsv(227, 66%, 59%)
CMYKcmyk(65.6%, 51%, 0%, 40.8%)
CIE-LABlab(33.69, 17.44, -44.89)
CIE-LCHlch(33.69, 48.15, 291.23°)
OKLaboklab(43.48% -0.0032 -0.1286)
OKLCHoklch(43.48% 0.129 268.6)
XYZxyz(9.4490, 7.8611, 30.2916)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344A97 #978134
analogous
#347B97 #344A97 #503497
triadic
#344A97 #97344A #4A9734
tetradic
#344A97 #97347B #978134 #349750
square
#344A97 #97347B #978134 #349750
split-complementary
#344A97 #975034 #7B9734
monochromatic
#151D3C #243469 #344A97 #4863C0 #768AD0

Accessibility & contrast

On white

8.16
#344A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#344A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344A97
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344A97#FFFFFF#000000##FFFFFF
##344A971.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#034B95
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #344a97;
/* rgb */ color: rgb(52, 74, 151);
/* oklch */ color: oklch(43.5% 0.129 268.6);
Tailwind
colors: {
  custom: {
    50: '#767cb6',
    500: '#344a97',
    950: '#000000',
  },
}
SCSS
$custom: #344a97;
$custom-light: #767cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#344a97",
  "rgb": {
    "r": 52,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 226.667,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43477,
    "c": 0.12868,
    "h": 268.6
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

primary
#344A97
secondary
#B8A86F
accent
#BA4FD8
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #344A97

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

Preview Lab → · Contrast checker → · Palette generator →

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