#34258F#34258F

#34258F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.165 H 280.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#34258F
RGBrgb(52, 37, 143)
HSLhsl(248, 59%, 35%)
HSVhsv(248, 74%, 56%)
CMYKcmyk(63.6%, 74.1%, 0%, 43.9%)
CIE-LABlab(23.79, 38.42, -56.09)
CIE-LCHlch(23.79, 67.99, 304.41°)
OKLaboklab(35.97% 0.0303 -0.1618)
OKLCHoklch(35.97% 0.165 280.6)
XYZxyz(7.0341, 4.0358, 26.3896)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34258F #808F25
analogous
#254B8F #34258F #69258F
triadic
#34258F #8F3425 #258F34
tetradic
#34258F #8F254B #808F25 #258F69
square
#34258F #8F254B #808F25 #258F69
split-complementary
#34258F #8F6925 #4B8F25
monochromatic
#110C2E #22185E #34258F #4632C0 #6B5AD4

Accessibility & contrast

On white

11.62
#34258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#34258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34258F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34258F#FFFFFF#000000##FFFFFF
##34258F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #34258f;
/* rgb */ color: rgb(52, 37, 143);
/* oklch */ color: oklch(36.0% 0.165 280.6);
Tailwind
colors: {
  custom: {
    50: '#7861b1',
    500: '#34258f',
    950: '#000000',
  },
}
SCSS
$custom: #34258f;
$custom-light: #7861b1;
$custom-dark: #000000;
JSON
{
  "hex": "#34258f",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 248.491,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35972,
    "c": 0.16461,
    "h": 280.6
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#34258F
secondary
#ABB957
accent
#E246CC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #34258F

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

Preview Lab → · Contrast checker → · Palette generator →

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