#344A8F#344A8F

#344A8F is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.9% C 0.117 H 267.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#344A8F
RGBrgb(52, 74, 143)
HSLhsl(225, 47%, 38%)
HSVhsv(225, 64%, 56%)
CMYKcmyk(63.6%, 48.3%, 0%, 43.9%)
CIE-LABlab(33.16, 14.49, -40.87)
CIE-LCHlch(33.16, 43.37, 289.52°)
OKLaboklab(42.9% -0.0042 -0.1168)
OKLCHoklch(42.9% 0.117 267.9)
XYZxyz(8.8212, 7.6100, 26.9853)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344A8F #8F7934
analogous
#34778F #344A8F #4C348F
triadic
#344A8F #8F344A #4A8F34
tetradic
#344A8F #8F3477 #8F7934 #348F4C
square
#344A8F #8F3477 #8F7934 #348F4C
split-complementary
#344A8F #8F4C34 #778F34
monochromatic
#131C35 #243362 #344A8F #4562BB #7287CC

Accessibility & contrast

On white

8.33
#344A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#344A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344A8F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344A8F#FFFFFF#000000##FFFFFF
##344A8F1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#184A8E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #344a8f;
/* rgb */ color: rgb(52, 74, 143);
/* oklch */ color: oklch(42.9% 0.117 267.9);
Tailwind
colors: {
  custom: {
    50: '#757cb0',
    500: '#344a8f',
    950: '#000000',
  },
}
SCSS
$custom: #344a8f;
$custom-light: #757cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#344a8f",
  "rgb": {
    "r": 52,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 225.495,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.11691,
    "h": 267.9
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#344A8F
secondary
#B4A26B
accent
#B651D6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #344A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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