#34307E#34307E

#34307E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.128 H 280.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#34307E
RGBrgb(52, 48, 126)
HSLhsl(243, 45%, 34%)
HSVhsv(243, 62%, 49%)
CMYKcmyk(58.7%, 61.9%, 0%, 50.6%)
CIE-LABlab(24.80, 25.84, -43.81)
CIE-LCHlch(24.80, 50.87, 300.53°)
OKLaboklab(36.23% 0.0226 -0.1258)
OKLCHoklch(36.23% 0.128 280.2)
XYZxyz(6.2378, 4.3499, 20.2455)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34307E #7A7E30
analogous
#30537E #34307E #5B307E
triadic
#34307E #7E3430 #307E34
tetradic
#34307E #7E3053 #7A7E30 #307E5B
square
#34307E #7E3053 #7A7E30 #307E5B
split-complementary
#34307E #7E5B30 #537E30
monochromatic
#0F0E25 #221F52 #34307E #4641AA #6964C4

Accessibility & contrast

On white

11.23
#34307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#34307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34307E
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34307E#FFFFFF#000000##FFFFFF
##34307E1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#0C4352
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34307e;
/* rgb */ color: rgb(52, 48, 126);
/* oklch */ color: oklch(36.2% 0.128 280.2);
Tailwind
colors: {
  custom: {
    50: '#7368a4',
    500: '#34307e',
    950: '#000000',
  },
}
SCSS
$custom: #34307e;
$custom-light: #7368a4;
$custom-dark: #000000;
JSON
{
  "hex": "#34307e",
  "rgb": {
    "r": 52,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 243.077,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36227,
    "c": 0.12779,
    "h": 280.2
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#34307E
secondary
#A7AB5F
accent
#D553CE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #34307E

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

Preview Lab → · Contrast checker → · Palette generator →

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