#344A8A#344A8A

#344A8A is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.109 H 267.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#344A8A
RGBrgb(52, 74, 138)
HSLhsl(225, 45%, 37%)
HSVhsv(225, 62%, 54%)
CMYKcmyk(62.3%, 46.4%, 0%, 45.9%)
CIE-LABlab(32.84, 12.66, -38.32)
CIE-LCHlch(32.84, 40.36, 288.28°)
OKLaboklab(42.55% -0.005 -0.1093)
OKLCHoklch(42.55% 0.109 267.4)
XYZxyz(8.4508, 7.4619, 25.0348)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344A8A #8A7434
analogous
#34758A #344A8A #49348A
triadic
#344A8A #8A344A #4A8A34
tetradic
#344A8A #8A3475 #8A7434 #348A49
square
#344A8A #8A3475 #8A7434 #348A49
split-complementary
#344A8A #8A4934 #758A34
monochromatic
#131A31 #23325E #344A8A #4562B6 #6F86C9

Accessibility & contrast

On white

8.42
#344A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#344A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##344A8A#FFFFFF#000000##FFFFFF
##344A8A1.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)
#2C518C
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #344a8a;
/* rgb */ color: rgb(52, 74, 138);
/* oklch */ color: oklch(42.5% 0.109 267.4);
Tailwind
colors: {
  custom: {
    50: '#747cac',
    500: '#344a8a',
    950: '#000000',
  },
}
SCSS
$custom: #344a8a;
$custom-light: #747cac;
$custom-dark: #000000;
JSON
{
  "hex": "#344a8a",
  "rgb": {
    "r": 52,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 224.651,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.10945,
    "h": 267.4
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#344A8A
secondary
#B19F69
accent
#B453D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #344A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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