#344797#344797

#344797 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.133 H 269.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#344797
RGBrgb(52, 71, 151)
HSLhsl(228, 49%, 40%)
HSVhsv(228, 66%, 59%)
CMYKcmyk(65.6%, 53%, 0%, 40.8%)
CIE-LABlab(32.85, 19.44, -46.24)
CIE-LCHlch(32.85, 50.16, 292.80°)
OKLaboklab(42.84% -0.0002 -0.1326)
OKLCHoklch(42.84% 0.133 269.9)
XYZxyz(9.2534, 7.4701, 30.2264)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344797 #978434
analogous
#347897 #344797 #533497
triadic
#344797 #973447 #479734
tetradic
#344797 #973478 #978434 #349753
square
#344797 #973478 #978434 #349753
split-complementary
#344797 #975334 #789734
monochromatic
#151C3C #243269 #344797 #485FC0 #7687D0

Accessibility & contrast

On white

8.42
#344797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#344797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344797
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344797#FFFFFF#000000##FFFFFF
##3447971.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #344797;
/* rgb */ color: rgb(52, 71, 151);
/* oklch */ color: oklch(42.8% 0.133 269.9);
Tailwind
colors: {
  custom: {
    50: '#7679b6',
    500: '#344797',
    950: '#000000',
  },
}
SCSS
$custom: #344797;
$custom-light: #7679b6;
$custom-dark: #000000;
JSON
{
  "hex": "#344797",
  "rgb": {
    "r": 52,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 228.485,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42842,
    "c": 0.13265,
    "h": 269.9
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#344797
secondary
#B8AA6F
accent
#BE4FD8
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #344797

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

Preview Lab → · Contrast checker → · Palette generator →

#344797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva