#34487F#34487F

#34487F is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.095 H 267.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#34487F
RGBrgb(52, 72, 127)
HSLhsl(224, 42%, 35%)
HSVhsv(224, 59%, 50%)
CMYKcmyk(59.1%, 43.3%, 0%, 50.2%)
CIE-LABlab(31.57, 10.01, -33.55)
CIE-LCHlch(31.57, 35.01, 286.62°)
OKLaboklab(41.36% -0.0048 -0.0953)
OKLCHoklch(41.36% 0.095 267.1)
XYZxyz(7.5630, 6.8965, 21.0072)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34487F #7F6B34
analogous
#346D7F #34487F #46347F
triadic
#34487F #7F3448 #487F34
tetradic
#34487F #7F346D #7F6B34 #347F46
square
#34487F #7F346D #7F6B34 #347F46
split-complementary
#34487F #7F4634 #6D7F34
monochromatic
#101728 #222F54 #34487F #4661AA #6B82C2

Accessibility & contrast

On white

8.83
#34487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#34487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34487F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34487F#FFFFFF#000000##FFFFFF
##34487F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#27477E
Tritanopia (blue-blind)
#01545D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #34487f;
/* rgb */ color: rgb(52, 72, 127);
/* oklch */ color: oklch(41.4% 0.095 267.1);
Tailwind
colors: {
  custom: {
    50: '#727aa4',
    500: '#34487f',
    950: '#000000',
  },
}
SCSS
$custom: #34487f;
$custom-light: #727aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#34487f",
  "rgb": {
    "r": 52,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 224,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.09547,
    "h": 267.1
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#34487F
secondary
#AA9864
accent
#B156D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #34487F

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

Preview Lab → · Contrast checker → · Palette generator →

#34487F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva