#34268B#34268B

#34268B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.158 H 281.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#34268B
RGBrgb(52, 38, 139)
HSLhsl(248, 57%, 35%)
HSVhsv(248, 73%, 55%)
CMYKcmyk(62.6%, 72.7%, 0%, 45.5%)
CIE-LABlab(23.60, 36.53, -53.91)
CIE-LCHlch(23.60, 65.12, 304.12°)
OKLaboklab(35.72% 0.0304 -0.1554)
OKLCHoklch(35.72% 0.158 281.1)
XYZxyz(6.7680, 3.9799, 24.8326)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34268B #7D8B26
analogous
#264B8B #34268B #67268B
triadic
#34268B #8B3426 #268B34
tetradic
#34268B #8B264B #7D8B26 #268B67
square
#34268B #8B264B #7D8B26 #268B67
split-complementary
#34268B #8B6726 #4B8B26
monochromatic
#100C2B #22195B #34268B #4633BB #6A5AD2

Accessibility & contrast

On white

11.69
#34268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34268B
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34268B#FFFFFF#000000##FFFFFF
##34268B1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #34268b;
/* rgb */ color: rgb(52, 38, 139);
/* oklch */ color: oklch(35.7% 0.158 281.1);
Tailwind
colors: {
  custom: {
    50: '#7762ae',
    500: '#34268b',
    950: '#000000',
  },
}
SCSS
$custom: #34268b;
$custom-light: #7762ae;
$custom-dark: #000000;
JSON
{
  "hex": "#34268b",
  "rgb": {
    "r": 52,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 248.317,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35721,
    "c": 0.15835,
    "h": 281.1
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#34268B
secondary
#A9B756
accent
#E047CB
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #34268B

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

Preview Lab → · Contrast checker → · Palette generator →

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