#34459A#34459A

#34459A is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.140 H 270.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#34459A
RGBrgb(52, 69, 154)
HSLhsl(230, 50%, 40%)
HSVhsv(230, 66%, 60%)
CMYKcmyk(66.2%, 55.2%, 0%, 39.6%)
CIE-LABlab(32.52, 21.88, -48.60)
CIE-LCHlch(32.52, 53.29, 294.23°)
OKLaboklab(42.66% 0.002 -0.1396)
OKLCHoklch(42.66% 0.14 270.8)
XYZxyz(9.3751, 7.3186, 31.4842)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34459A #9A8934
analogous
#34789A #34459A #56349A
triadic
#34459A #9A3445 #459A34
tetradic
#34459A #9A3478 #9A8934 #349A56
square
#34459A #9A3478 #9A8934 #349A56
split-complementary
#34459A #9A5634 #789A34
monochromatic
#151C3E #25316C #34459A #495EC2 #7786D1

Accessibility & contrast

On white

8.52
#34459A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#34459A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34459A
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34459A#FFFFFF#000000##FFFFFF
##34459A1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05519D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #34459a;
/* rgb */ color: rgb(52, 69, 154);
/* oklch */ color: oklch(42.7% 0.140 270.8);
Tailwind
colors: {
  custom: {
    50: '#7778b8',
    500: '#34459a',
    950: '#000000',
  },
}
SCSS
$custom: #34459a;
$custom-light: #7778b8;
$custom-dark: #000000;
JSON
{
  "hex": "#34459a",
  "rgb": {
    "r": 52,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 230,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42661,
    "c": 0.13963,
    "h": 270.8
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#34459A
secondary
#BAAD70
accent
#C24FD9
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #34459A

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

Preview Lab → · Contrast checker → · Palette generator →

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