#34288C#34288C

#34288C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.157 H 280.5°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#34288C
RGBrgb(52, 40, 140)
HSLhsl(247, 56%, 35%)
HSVhsv(247, 71%, 55%)
CMYKcmyk(62.9%, 71.4%, 0%, 45.1%)
CIE-LABlab(24.13, 35.67, -53.67)
CIE-LCHlch(24.13, 64.44, 303.61°)
OKLaboklab(36.13% 0.0286 -0.1547)
OKLCHoklch(36.13% 0.157 280.5)
XYZxyz(6.9071, 4.1406, 25.2411)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34288C #808C28
analogous
#284E8C #34288C #66288C
triadic
#34288C #8C3428 #288C34
tetradic
#34288C #8C284E #808C28 #288C66
square
#34288C #8C284E #808C28 #288C66
split-complementary
#34288C #8C6628 #4E8C28
monochromatic
#110D2D #221A5C #34288C #4636BC #6B5ED1

Accessibility & contrast

On white

11.49
#34288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#34288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34288C
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34288C#FFFFFF#000000##FFFFFF
##34288C1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #34288c;
/* rgb */ color: rgb(52, 40, 140);
/* oklch */ color: oklch(36.1% 0.157 280.5);
Tailwind
colors: {
  custom: {
    50: '#7763af',
    500: '#34288c',
    950: '#000000',
  },
}
SCSS
$custom: #34288c;
$custom-light: #7763af;
$custom-dark: #000000;
JSON
{
  "hex": "#34288c",
  "rgb": {
    "r": 52,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 247.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36126,
    "c": 0.15734,
    "h": 280.5
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#34288C
secondary
#ABB65A
accent
#DF49CD
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #34288C

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

Preview Lab → · Contrast checker → · Palette generator →

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