#34459C#34459C

#34459C is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.142 H 270.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#34459C
RGBrgb(52, 69, 156)
HSLhsl(230, 50%, 41%)
HSVhsv(230, 67%, 61%)
CMYKcmyk(66.7%, 55.8%, 0%, 38.8%)
CIE-LABlab(32.67, 22.61, -49.57)
CIE-LCHlch(32.67, 54.48, 294.52°)
OKLaboklab(42.82% 0.0021 -0.1425)
OKLCHoklch(42.82% 0.143 270.8)
XYZxyz(9.5430, 7.3857, 32.3687)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34459C #9C8B34
analogous
#34799C #34459C #57349C
triadic
#34459C #9C3445 #459C34
tetradic
#34459C #9C3479 #9C8B34 #349C57
square
#34459C #9C3479 #9C8B34 #349C57
split-complementary
#34459C #9C5734 #799C34
monochromatic
#151C40 #25316E #34459C #4A5EC3 #7887D2

Accessibility & contrast

On white

8.48
#34459C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34459C
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34459C#FFFFFF#000000##FFFFFF
##34459C1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #34459c;
/* rgb */ color: rgb(52, 69, 156);
/* oklch */ color: oklch(42.8% 0.142 270.8);
Tailwind
colors: {
  custom: {
    50: '#7878ba',
    500: '#34459c',
    950: '#000000',
  },
}
SCSS
$custom: #34459c;
$custom-light: #7878ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34459c",
  "rgb": {
    "r": 52,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 230.192,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42819,
    "c": 0.1425,
    "h": 270.8
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#34459C
secondary
#BBAF71
accent
#C34EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #34459C

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

Preview Lab → · Contrast checker → · Palette generator →

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