#34267F#34267F

#34267F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.143 H 283.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#34267F
RGBrgb(52, 38, 127)
HSLhsl(249, 54%, 32%)
HSVhsv(249, 70%, 50%)
CMYKcmyk(59.1%, 70.1%, 0%, 50.2%)
CIE-LABlab(22.47, 32.58, -48.23)
CIE-LCHlch(22.47, 58.20, 304.04°)
OKLaboklab(34.56% 0.0325 -0.1388)
OKLCHoklch(34.56% 0.143 283.2)
XYZxyz(5.9389, 3.6482, 20.4658)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34267F #717F26
analogous
#26457F #34267F #60267F
triadic
#34267F #7F3426 #267F34
tetradic
#34267F #7F2645 #717F26 #267F60
square
#34267F #7F2645 #717F26 #267F60
split-complementary
#34267F #7F6026 #457F26
monochromatic
#0D0A21 #211850 #34267F #4734AE #6754CC

Accessibility & contrast

On white

12.14
#34267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#34267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34267F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34267F#FFFFFF#000000##FFFFFF
##34267F1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#0C3D4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #34267f;
/* rgb */ color: rgb(52, 38, 127);
/* oklch */ color: oklch(34.6% 0.143 283.2);
Tailwind
colors: {
  custom: {
    50: '#7461a5',
    500: '#34267f',
    950: '#000000',
  },
}
SCSS
$custom: #34267f;
$custom-light: #7461a5;
$custom-dark: #000000;
JSON
{
  "hex": "#34267f",
  "rgb": {
    "r": 52,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 249.438,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34562,
    "c": 0.14254,
    "h": 283.2
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#34267F
secondary
#A1B051
accent
#DD4AC6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #34267F

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

Preview Lab → · Contrast checker → · Palette generator →

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