#344A8D#344A8D

#344A8D is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.114 H 267.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#344A8D
RGBrgb(52, 74, 141)
HSLhsl(225, 46%, 38%)
HSVhsv(225, 63%, 55%)
CMYKcmyk(63.1%, 47.5%, 0%, 44.7%)
CIE-LABlab(33.03, 13.76, -39.86)
CIE-LCHlch(33.03, 42.17, 289.05°)
OKLaboklab(42.76% -0.0045 -0.1138)
OKLCHoklch(42.76% 0.114 267.7)
XYZxyz(8.6710, 7.5500, 26.1945)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344A8D #8D7734
analogous
#34768D #344A8D #4B348D
triadic
#344A8D #8D344A #4A8D34
tetradic
#344A8D #8D3476 #8D7734 #348D4B
square
#344A8D #8D3476 #8D7734 #348D4B
split-complementary
#344A8D #8D4B34 #768D34
monochromatic
#131B34 #243360 #344A8D #4461BA #7187CB

Accessibility & contrast

On white

8.37
#344A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#344A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344A8D
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344A8D#FFFFFF#000000##FFFFFF
##344A8D1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #344a8d;
/* rgb */ color: rgb(52, 74, 141);
/* oklch */ color: oklch(42.8% 0.114 267.7);
Tailwind
colors: {
  custom: {
    50: '#747caf',
    500: '#344a8d',
    950: '#000000',
  },
}
SCSS
$custom: #344a8d;
$custom-light: #747caf;
$custom-dark: #000000;
JSON
{
  "hex": "#344a8d",
  "rgb": {
    "r": 52,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 225.169,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42758,
    "c": 0.11394,
    "h": 267.7
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#344A8D
secondary
#B3A16A
accent
#B552D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #344A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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