#34268C#34268C

#34268C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.160 H 280.9°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#34268C
RGBrgb(52, 38, 140)
HSLhsl(248, 57%, 35%)
HSVhsv(248, 73%, 55%)
CMYKcmyk(62.9%, 72.9%, 0%, 45.1%)
CIE-LABlab(23.70, 36.86, -54.37)
CIE-LCHlch(23.70, 65.69, 304.13°)
OKLaboklab(35.82% 0.0302 -0.1568)
OKLCHoklch(35.82% 0.16 280.9)
XYZxyz(6.8414, 4.0092, 25.2192)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34268C #7E8C26
analogous
#264B8C #34268C #67268C
triadic
#34268C #8C3426 #268C34
tetradic
#34268C #8C264B #7E8C26 #268C67
square
#34268C #8C264B #7E8C26 #268C67
split-complementary
#34268C #8C6726 #4B8C26
monochromatic
#100C2C #22195C #34268C #4633BC #6B5AD2

Accessibility & contrast

On white

11.65
#34268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#34268C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34268C
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34268C#FFFFFF#000000##FFFFFF
##34268C1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34268c;
/* rgb */ color: rgb(52, 38, 140);
/* oklch */ color: oklch(35.8% 0.160 280.9);
Tailwind
colors: {
  custom: {
    50: '#7762af',
    500: '#34268c',
    950: '#000000',
  },
}
SCSS
$custom: #34268c;
$custom-light: #7762af;
$custom-dark: #000000;
JSON
{
  "hex": "#34268c",
  "rgb": {
    "r": 52,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 248.235,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3582,
    "c": 0.15965,
    "h": 280.9
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#34268C
secondary
#AAB757
accent
#E147CC
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #34268C

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

Preview Lab → · Contrast checker → · Palette generator →

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