#34268D#34268D

#34268D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.161 H 280.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#34268D
RGBrgb(52, 38, 141)
HSLhsl(248, 58%, 35%)
HSVhsv(248, 73%, 55%)
CMYKcmyk(63.1%, 73%, 0%, 44.7%)
CIE-LABlab(23.80, 37.19, -54.84)
CIE-LCHlch(23.80, 66.25, 304.14°)
OKLaboklab(35.92% 0.03 -0.1581)
OKLCHoklch(35.92% 0.161 280.7)
XYZxyz(6.9155, 4.0389, 25.6093)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34268D #7F8D26
analogous
#264C8D #34268D #67268D
triadic
#34268D #8D3426 #268D34
tetradic
#34268D #8D264C #7F8D26 #268D67
square
#34268D #8D264C #7F8D26 #268D67
split-complementary
#34268D #8D6726 #4C8D26
monochromatic
#100C2D #22195D #34268D #4633BD #6B5BD3

Accessibility & contrast

On white

11.62
#34268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#34268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34268D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34268D#FFFFFF#000000##FFFFFF
##34268D1.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)
#003C90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #34268d;
/* rgb */ color: rgb(52, 38, 141);
/* oklch */ color: oklch(35.9% 0.161 280.7);
Tailwind
colors: {
  custom: {
    50: '#7762af',
    500: '#34268d',
    950: '#000000',
  },
}
SCSS
$custom: #34268d;
$custom-light: #7762af;
$custom-dark: #000000;
JSON
{
  "hex": "#34268d",
  "rgb": {
    "r": 52,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 248.155,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35919,
    "c": 0.16094,
    "h": 280.7
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34268D

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

Preview Lab → · Contrast checker → · Palette generator →

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