#34267C#34267C

#34267C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.138 H 283.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#34267C
RGBrgb(52, 38, 124)
HSLhsl(250, 53%, 32%)
HSVhsv(250, 69%, 49%)
CMYKcmyk(58.1%, 69.4%, 0%, 51.4%)
CIE-LABlab(22.20, 31.58, -46.78)
CIE-LCHlch(22.20, 56.44, 304.03°)
OKLaboklab(34.28% 0.033 -0.1345)
OKLCHoklch(34.28% 0.138 283.8)
XYZxyz(5.7463, 3.5712, 19.4514)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34267C #6E7C26
analogous
#26437C #34267C #5F267C
triadic
#34267C #7C3426 #267C34
tetradic
#34267C #7C2643 #6E7C26 #267C5F
square
#34267C #7C2643 #6E7C26 #267C5F
split-complementary
#34267C #7C5F26 #437C26
monochromatic
#0D091E #20184D #34267C #4834AB #6652CA

Accessibility & contrast

On white

12.25
#34267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#34267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34267C
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34267C#FFFFFF#000000##FFFFFF
##34267C1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#113C4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #34267c;
/* rgb */ color: rgb(52, 38, 124);
/* oklch */ color: oklch(34.3% 0.138 283.8);
Tailwind
colors: {
  custom: {
    50: '#7461a3',
    500: '#34267c',
    950: '#000000',
  },
}
SCSS
$custom: #34267c;
$custom-light: #7461a3;
$custom-dark: #000000;
JSON
{
  "hex": "#34267c",
  "rgb": {
    "r": 52,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 249.767,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34282,
    "c": 0.13849,
    "h": 283.8
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#34267C
secondary
#9FAE50
accent
#DC4BC5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #34267C

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

Preview Lab → · Contrast checker → · Palette generator →

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