#34459D#34459D

#34459D is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.144 H 270.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#34459D
RGBrgb(52, 69, 157)
HSLhsl(230, 50%, 41%)
HSVhsv(230, 67%, 62%)
CMYKcmyk(66.9%, 56.1%, 0%, 38.4%)
CIE-LABlab(32.74, 22.97, -50.05)
CIE-LCHlch(32.74, 55.07, 294.66°)
OKLaboklab(42.9% 0.0022 -0.1439)
OKLCHoklch(42.9% 0.144 270.9)
XYZxyz(9.6280, 7.4198, 32.8165)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34459D #9D8C34
analogous
#34799D #34459D #57349D
triadic
#34459D #9D3445 #459D34
tetradic
#34459D #9D3479 #9D8C34 #349D57
square
#34459D #9D3479 #9D8C34 #349D57
split-complementary
#34459D #9D5734 #799D34
monochromatic
#161D41 #25316F #34459D #4B5EC3 #7987D3

Accessibility & contrast

On white

8.45
#34459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#34459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34459D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34459D#FFFFFF#000000##FFFFFF
##34459D1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #34459d;
/* rgb */ color: rgb(52, 69, 157);
/* oklch */ color: oklch(42.9% 0.144 270.9);
Tailwind
colors: {
  custom: {
    50: '#7878bb',
    500: '#34459d',
    950: '#000000',
  },
}
SCSS
$custom: #34459d;
$custom-light: #7878bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34459d",
  "rgb": {
    "r": 52,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 230.286,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.14393,
    "h": 270.9
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#34459D
secondary
#BBAF72
accent
#C34EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #34459D

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

Preview Lab → · Contrast checker → · Palette generator →

#34459D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva