#34267E#34267E

#34267E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.141 H 283.4°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#34267E
RGBrgb(52, 38, 126)
HSLhsl(250, 54%, 32%)
HSVhsv(250, 70%, 49%)
CMYKcmyk(58.7%, 69.8%, 0%, 50.6%)
CIE-LABlab(22.38, 32.25, -47.75)
CIE-LCHlch(22.38, 57.62, 304.03°)
OKLaboklab(34.47% 0.0327 -0.1374)
OKLCHoklch(34.47% 0.141 283.4)
XYZxyz(5.8740, 3.6223, 20.1243)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34267E #707E26
analogous
#26447E #34267E #60267E
triadic
#34267E #7E3426 #267E34
tetradic
#34267E #7E2644 #707E26 #267E60
square
#34267E #7E2644 #707E26 #267E60
split-complementary
#34267E #7E6026 #447E26
monochromatic
#0D0A20 #21184F #34267E #4734AD #6653CB

Accessibility & contrast

On white

12.18
#34267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#34267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34267E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34267E#FFFFFF#000000##FFFFFF
##34267E1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#0E3D4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #34267e;
/* rgb */ color: rgb(52, 38, 126);
/* oklch */ color: oklch(34.5% 0.141 283.4);
Tailwind
colors: {
  custom: {
    50: '#7461a4',
    500: '#34267e',
    950: '#000000',
  },
}
SCSS
$custom: #34267e;
$custom-light: #7461a4;
$custom-dark: #000000;
JSON
{
  "hex": "#34267e",
  "rgb": {
    "r": 52,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 249.545,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34468,
    "c": 0.14119,
    "h": 283.4
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#34267E
secondary
#A0B050
accent
#DD4BC6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #34267E

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

Preview Lab → · Contrast checker → · Palette generator →

#34267E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva