#34298B#34298B

#34298B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.155 H 280.4°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#34298B
RGBrgb(52, 41, 139)
HSLhsl(247, 54%, 35%)
HSVhsv(247, 71%, 55%)
CMYKcmyk(62.6%, 70.5%, 0%, 45.5%)
CIE-LABlab(24.26, 34.74, -52.84)
CIE-LCHlch(24.26, 63.24, 303.32°)
OKLaboklab(36.19% 0.0279 -0.1523)
OKLCHoklch(36.19% 0.155 280.4)
XYZxyz(6.8678, 4.1795, 24.8659)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34298B #808B29
analogous
#294F8B #34298B #65298B
triadic
#34298B #8B3429 #298B34
tetradic
#34298B #8B294F #808B29 #298B65
square
#34298B #8B294F #808B29 #298B65
split-complementary
#34298B #8B6529 #4F8B29
monochromatic
#110D2C #221B5C #34298B #4637BA #6B5FD0

Accessibility & contrast

On white

11.44
#34298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#34298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34298B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34298B#FFFFFF#000000##FFFFFF
##34298B1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34298b;
/* rgb */ color: rgb(52, 41, 139);
/* oklch */ color: oklch(36.2% 0.155 280.4);
Tailwind
colors: {
  custom: {
    50: '#7664ae',
    500: '#34298b',
    950: '#000000',
  },
}
SCSS
$custom: #34298b;
$custom-light: #7664ae;
$custom-dark: #000000;
JSON
{
  "hex": "#34298b",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 246.735,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36187,
    "c": 0.15483,
    "h": 280.4
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#34298B
secondary
#ABB55B
accent
#DE4ACD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #34298B

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

Preview Lab → · Contrast checker → · Palette generator →

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