#34258C#34258C

#34258C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.161 H 281.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#34258C
RGBrgb(52, 37, 140)
HSLhsl(249, 58%, 35%)
HSVhsv(249, 74%, 55%)
CMYKcmyk(62.9%, 73.6%, 0%, 45.1%)
CIE-LABlab(23.49, 37.44, -54.72)
CIE-LCHlch(23.49, 66.30, 304.38°)
OKLaboklab(35.67% 0.031 -0.1578)
OKLCHoklch(35.67% 0.161 281.1)
XYZxyz(6.8099, 3.9462, 25.2087)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34258C #7D8C25
analogous
#254A8C #34258C #68258C
triadic
#34258C #8C3425 #258C34
tetradic
#34258C #8C254A #7D8C25 #258C68
square
#34258C #8C254A #7D8C25 #258C68
split-complementary
#34258C #8C6825 #4A8C25
monochromatic
#100B2B #22185C #34258C #4632BC #6A58D3

Accessibility & contrast

On white

11.74
#34258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#34258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34258C
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34258C#FFFFFF#000000##FFFFFF
##34258C1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #34258c;
/* rgb */ color: rgb(52, 37, 140);
/* oklch */ color: oklch(35.7% 0.161 281.1);
Tailwind
colors: {
  custom: {
    50: '#7761af',
    500: '#34258c',
    950: '#000000',
  },
}
SCSS
$custom: #34258c;
$custom-light: #7761af;
$custom-dark: #000000;
JSON
{
  "hex": "#34258c",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 248.738,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3567,
    "c": 0.16078,
    "h": 281.1
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#34258C
secondary
#A9B855
accent
#E146CB
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #34258C

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

Preview Lab → · Contrast checker → · Palette generator →

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