#34459B#34459B

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

Color values

HEX#34459B
RGBrgb(52, 69, 155)
HSLhsl(230, 50%, 41%)
HSVhsv(230, 66%, 61%)
CMYKcmyk(66.5%, 55.5%, 0%, 39.2%)
CIE-LABlab(32.60, 22.24, -49.08)
CIE-LCHlch(32.60, 53.89, 294.38°)
OKLaboklab(42.74% 0.0021 -0.141)
OKLCHoklch(42.74% 0.141 270.8)
XYZxyz(9.4587, 7.3520, 31.9246)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34459B #9B8A34
analogous
#34789B #34459B #56349B
triadic
#34459B #9B3445 #459B34
tetradic
#34459B #9B3478 #9B8A34 #349B56
square
#34459B #9B3478 #9B8A34 #349B56
split-complementary
#34459B #9B5634 #789B34
monochromatic
#151C3F #25316D #34459B #4A5EC2 #7887D2

Accessibility & contrast

On white

8.50
#34459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#34459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34459B
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34459B#FFFFFF#000000##FFFFFF
##34459B1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02519E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #34459b;
/* rgb */ color: rgb(52, 69, 155);
/* oklch */ color: oklch(42.7% 0.141 270.8);
Tailwind
colors: {
  custom: {
    50: '#7778b9',
    500: '#34459b',
    950: '#000000',
  },
}
SCSS
$custom: #34459b;
$custom-light: #7778b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34459b",
  "rgb": {
    "r": 52,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 230.097,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.14107,
    "h": 270.8
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#34459B
secondary
#BAAE71
accent
#C24FD9
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #34459B

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

Preview Lab → · Contrast checker → · Palette generator →

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