#34268F#34268F

#34268F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.164 H 280.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#34268F
RGBrgb(52, 38, 143)
HSLhsl(248, 58%, 35%)
HSVhsv(248, 73%, 56%)
CMYKcmyk(63.6%, 73.4%, 0%, 43.9%)
CIE-LABlab(24.00, 37.84, -55.75)
CIE-LCHlch(24.00, 67.38, 304.16°)
OKLaboklab(36.12% 0.0296 -0.1608)
OKLCHoklch(36.12% 0.164 280.4)
XYZxyz(7.0656, 4.0989, 26.4001)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34268F #818F26
analogous
#264C8F #34268F #68268F
triadic
#34268F #8F3426 #268F34
tetradic
#34268F #8F264C #818F26 #268F68
square
#34268F #8F264C #818F26 #268F68
split-complementary
#34268F #8F6826 #4C8F26
monochromatic
#110C2E #22195F #34268F #4633BF #6C5CD4

Accessibility & contrast

On white

11.54
#34268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#34268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34268F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34268F#FFFFFF#000000##FFFFFF
##34268F1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #34268f;
/* rgb */ color: rgb(52, 38, 143);
/* oklch */ color: oklch(36.1% 0.164 280.4);
Tailwind
colors: {
  custom: {
    50: '#7762b1',
    500: '#34268f',
    950: '#000000',
  },
}
SCSS
$custom: #34268f;
$custom-light: #7762b1;
$custom-dark: #000000;
JSON
{
  "hex": "#34268f",
  "rgb": {
    "r": 52,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 248,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36118,
    "c": 0.16351,
    "h": 280.4
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#34268F
secondary
#ACB958
accent
#E147CD
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #34268F

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

Preview Lab → · Contrast checker → · Palette generator →

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