#34489F#34489F

#34489F is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.143 H 269.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#34489F
RGBrgb(52, 72, 159)
HSLhsl(229, 51%, 41%)
HSVhsv(229, 67%, 62%)
CMYKcmyk(67.3%, 54.7%, 0%, 37.6%)
CIE-LABlab(33.70, 21.72, -49.70)
CIE-LCHlch(33.70, 54.24, 293.60°)
OKLaboklab(43.67% -0.0005 -0.1428)
OKLCHoklch(43.67% 0.143 269.8)
XYZxyz(9.9894, 7.8671, 33.7862)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34489F #9F8B34
analogous
#347E9F #34489F #56349F
triadic
#34489F #9F3448 #489F34
tetradic
#34489F #9F347E #9F8B34 #349F56
square
#34489F #9F347E #9F8B34 #349F56
split-complementary
#34489F #9F5634 #7E9F34
monochromatic
#161E43 #253371 #34489F #4C62C4 #7A8BD3

Accessibility & contrast

On white

8.16
#34489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34489F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34489F#FFFFFF#000000##FFFFFF
##34489F1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #34489f;
/* rgb */ color: rgb(52, 72, 159);
/* oklch */ color: oklch(43.7% 0.143 269.8);
Tailwind
colors: {
  custom: {
    50: '#787abc',
    500: '#34489f',
    950: '#000000',
  },
}
SCSS
$custom: #34489f;
$custom-light: #787abc;
$custom-dark: #000000;
JSON
{
  "hex": "#34489f",
  "rgb": {
    "r": 52,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 228.785,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43667,
    "c": 0.14284,
    "h": 269.8
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34489F

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

Preview Lab → · Contrast checker → · Palette generator →

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