#34258A#34258A

#34258A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.158 H 281.4°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#34258A
RGBrgb(52, 37, 138)
HSLhsl(249, 58%, 34%)
HSVhsv(249, 73%, 54%)
CMYKcmyk(62.3%, 73.2%, 0%, 45.9%)
CIE-LABlab(23.30, 36.79, -53.79)
CIE-LCHlch(23.30, 65.17, 304.37°)
OKLaboklab(35.47% 0.0314 -0.1551)
OKLCHoklch(35.47% 0.158 281.4)
XYZxyz(6.6637, 3.8877, 24.4391)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34258A #7B8A25
analogous
#25498A #34258A #67258A
triadic
#34258A #8A3425 #258A34
tetradic
#34258A #8A2549 #7B8A25 #258A67
square
#34258A #8A2549 #7B8A25 #258A67
split-complementary
#34258A #8A6725 #498A25
monochromatic
#100B29 #22185A #34258A #4632BA #6A57D2

Accessibility & contrast

On white

11.81
#34258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#34258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34258A
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34258A#FFFFFF#000000##FFFFFF
##34258A1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #34258a;
/* rgb */ color: rgb(52, 37, 138);
/* oklch */ color: oklch(35.5% 0.158 281.4);
Tailwind
colors: {
  custom: {
    50: '#7661ad',
    500: '#34258a',
    950: '#000000',
  },
}
SCSS
$custom: #34258a;
$custom-light: #7661ad;
$custom-dark: #000000;
JSON
{
  "hex": "#34258a",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 248.911,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35471,
    "c": 0.15821,
    "h": 281.4
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#34258A
secondary
#A8B754
accent
#E147CA
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #34258A

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

Preview Lab → · Contrast checker → · Palette generator →

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