#34307B#34307B

#34307B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.123 H 280.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#34307B
RGBrgb(52, 48, 123)
HSLhsl(243, 44%, 34%)
HSVhsv(243, 61%, 48%)
CMYKcmyk(57.7%, 61%, 0%, 51.8%)
CIE-LABlab(24.56, 24.80, -42.31)
CIE-LCHlch(24.56, 49.04, 300.37°)
OKLaboklab(35.98% 0.0227 -0.1213)
OKLCHoklch(35.98% 0.123 280.6)
XYZxyz(6.0472, 4.2736, 19.2413)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34307B #777B30
analogous
#30517B #34307B #59307B
triadic
#34307B #7B3430 #307B34
tetradic
#34307B #7B3051 #777B30 #307B59
square
#34307B #7B3051 #777B30 #307B59
split-complementary
#34307B #7B5930 #517B30
monochromatic
#0F0E23 #211F4F #34307B #4741A7 #6863C2

Accessibility & contrast

On white

11.32
#34307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#34307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34307B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34307B#FFFFFF#000000##FFFFFF
##34307B1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#114250
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34307b;
/* rgb */ color: rgb(52, 48, 123);
/* oklch */ color: oklch(36.0% 0.123 280.6);
Tailwind
colors: {
  custom: {
    50: '#7368a2',
    500: '#34307b',
    950: '#000000',
  },
}
SCSS
$custom: #34307b;
$custom-light: #7368a2;
$custom-dark: #000000;
JSON
{
  "hex": "#34307b",
  "rgb": {
    "r": 52,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 243.2,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35975,
    "c": 0.12344,
    "h": 280.6
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#34307B
secondary
#A5A95D
accent
#D454CD
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #34307B

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

Preview Lab → · Contrast checker → · Palette generator →

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