#34489E#34489E

#34489E is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.141 H 269.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#34489E
RGBrgb(52, 72, 158)
HSLhsl(229, 50%, 41%)
HSVhsv(229, 67%, 62%)
CMYKcmyk(67.1%, 54.4%, 0%, 38%)
CIE-LABlab(33.63, 21.35, -49.22)
CIE-LCHlch(33.63, 53.65, 293.45°)
OKLaboklab(43.59% -0.0006 -0.1414)
OKLCHoklch(43.59% 0.141 269.8)
XYZxyz(9.9030, 7.8325, 33.3311)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34489E #9E8A34
analogous
#347D9E #34489E #55349E
triadic
#34489E #9E3448 #489E34
tetradic
#34489E #9E347D #9E8A34 #349E55
square
#34489E #9E347D #9E8A34 #349E55
split-complementary
#34489E #9E5534 #7D9E34
monochromatic
#161E42 #253370 #34489E #4B62C4 #798AD3

Accessibility & contrast

On white

8.18
#34489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#34489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34489E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34489E#FFFFFF#000000##FFFFFF
##34489E1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B54A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #34489e;
/* rgb */ color: rgb(52, 72, 158);
/* oklch */ color: oklch(43.6% 0.141 269.8);
Tailwind
colors: {
  custom: {
    50: '#787abb',
    500: '#34489e',
    950: '#000000',
  },
}
SCSS
$custom: #34489e;
$custom-light: #787abb;
$custom-dark: #000000;
JSON
{
  "hex": "#34489e",
  "rgb": {
    "r": 52,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 228.679,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43589,
    "c": 0.14141,
    "h": 269.8
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#34489E
secondary
#BCAE72
accent
#C04EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #34489E

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

Preview Lab → · Contrast checker → · Palette generator →

#34489E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva