#34288F#34288F

#34288F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.161 H 280.0°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#34288F
RGBrgb(52, 40, 143)
HSLhsl(247, 56%, 36%)
HSVhsv(247, 72%, 56%)
CMYKcmyk(63.6%, 72%, 0%, 43.9%)
CIE-LABlab(24.42, 36.67, -55.06)
CIE-LCHlch(24.42, 66.15, 303.66°)
OKLaboklab(36.42% 0.028 -0.1588)
OKLCHoklch(36.42% 0.161 280)
XYZxyz(7.1313, 4.2303, 26.4220)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34288F #838F28
analogous
#284F8F #34288F #67288F
triadic
#34288F #8F3428 #288F34
tetradic
#34288F #8F284F #838F28 #288F67
square
#34288F #8F284F #838F28 #288F67
split-complementary
#34288F #8F6728 #4F8F28
monochromatic
#110D2F #231B5F #34288F #4535BF #6D5FD2

Accessibility & contrast

On white

11.37
#34288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#34288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34288F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34288F#FFFFFF#000000##FFFFFF
##34288F1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34288f;
/* rgb */ color: rgb(52, 40, 143);
/* oklch */ color: oklch(36.4% 0.161 280.0);
Tailwind
colors: {
  custom: {
    50: '#7763b1',
    500: '#34288f',
    950: '#000000',
  },
}
SCSS
$custom: #34288f;
$custom-light: #7763b1;
$custom-dark: #000000;
JSON
{
  "hex": "#34288f",
  "rgb": {
    "r": 52,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 246.99,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3642,
    "c": 0.16125,
    "h": 280
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#34288F
secondary
#ADB85B
accent
#E048CE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #34288F

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

Preview Lab → · Contrast checker → · Palette generator →

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