#34268E#34268E

#34268E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.162 H 280.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#34268E
RGBrgb(52, 38, 142)
HSLhsl(248, 58%, 35%)
HSVhsv(248, 73%, 56%)
CMYKcmyk(63.4%, 73.2%, 0%, 44.3%)
CIE-LABlab(23.90, 37.51, -55.30)
CIE-LCHlch(23.90, 66.82, 304.15°)
OKLaboklab(36.02% 0.0298 -0.1595)
OKLCHoklch(36.02% 0.162 280.6)
XYZxyz(6.9902, 4.0688, 26.0029)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34268E #808E26
analogous
#264C8E #34268E #68268E
triadic
#34268E #8E3426 #268E34
tetradic
#34268E #8E264C #808E26 #268E68
square
#34268E #8E264C #808E26 #268E68
split-complementary
#34268E #8E6826 #4C8E26
monochromatic
#110C2D #22195E #34268E #4633BE #6B5BD3

Accessibility & contrast

On white

11.58
#34268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34268E
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34268E#FFFFFF#000000##FFFFFF
##34268E1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #34268e;
/* rgb */ color: rgb(52, 38, 142);
/* oklch */ color: oklch(36.0% 0.162 280.6);
Tailwind
colors: {
  custom: {
    50: '#7762b0',
    500: '#34268e',
    950: '#000000',
  },
}
SCSS
$custom: #34268e;
$custom-light: #7762b0;
$custom-dark: #000000;
JSON
{
  "hex": "#34268e",
  "rgb": {
    "r": 52,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 248.077,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36018,
    "c": 0.16222,
    "h": 280.6
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#34268E
secondary
#ABB858
accent
#E147CC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #34268E

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

Preview Lab → · Contrast checker → · Palette generator →

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