#34307C#34307C

#34307C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.125 H 280.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#34307C
RGBrgb(52, 48, 124)
HSLhsl(243, 44%, 34%)
HSVhsv(243, 61%, 49%)
CMYKcmyk(58.1%, 61.3%, 0%, 51.4%)
CIE-LABlab(24.64, 25.14, -42.81)
CIE-LCHlch(24.64, 49.65, 300.42°)
OKLaboklab(36.06% 0.0227 -0.1228)
OKLCHoklch(36.06% 0.125 280.5)
XYZxyz(6.1101, 4.2988, 19.5727)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34307C #787C30
analogous
#30527C #34307C #5A307C
triadic
#34307C #7C3430 #307C34
tetradic
#34307C #7C3052 #787C30 #307C5A
square
#34307C #7C3052 #787C30 #307C5A
split-complementary
#34307C #7C5A30 #527C30
monochromatic
#0F0E24 #211F50 #34307C #4741A8 #6964C3

Accessibility & contrast

On white

11.29
#34307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#34307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34307C
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34307C#FFFFFF#000000##FFFFFF
##34307C1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#0F4251
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34307c;
/* rgb */ color: rgb(52, 48, 124);
/* oklch */ color: oklch(36.1% 0.125 280.5);
Tailwind
colors: {
  custom: {
    50: '#7368a3',
    500: '#34307c',
    950: '#000000',
  },
}
SCSS
$custom: #34307c;
$custom-light: #7368a3;
$custom-dark: #000000;
JSON
{
  "hex": "#34307c",
  "rgb": {
    "r": 52,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 243.158,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36059,
    "c": 0.12489,
    "h": 280.5
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#34307C
secondary
#A6AA5E
accent
#D454CD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #34307C

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

Preview Lab → · Contrast checker → · Palette generator →

#34307C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva