#34367C#34367C

#34367C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.2% C 0.116 H 277.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#34367C
RGBrgb(52, 54, 124)
HSLhsl(238, 41%, 35%)
HSVhsv(238, 58%, 49%)
CMYKcmyk(58.1%, 56.5%, 0%, 51.4%)
CIE-LABlab(26.23, 21.12, -40.24)
CIE-LCHlch(26.23, 45.44, 297.69°)
OKLaboklab(37.24% 0.016 -0.1152)
OKLCHoklch(37.24% 0.116 277.9)
XYZxyz(6.3723, 4.8232, 19.6601)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34367C #7C7A34
analogous
#345A7C #34367C #56347C
triadic
#34367C #7C3436 #367C34
tetradic
#34367C #7C345A #7C7A34 #347C56
square
#34367C #7C345A #7C7A34 #347C56
split-complementary
#34367C #7C5634 #5A7C34
monochromatic
#101026 #222351 #34367C #4649A7 #6A6CC0

Accessibility & contrast

On white

10.69
#34367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#34367C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34367C
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34367C#FFFFFF#000000##FFFFFF
##34367C1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09417E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#0E4653
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #34367c;
/* rgb */ color: rgb(52, 54, 124);
/* oklch */ color: oklch(37.2% 0.116 277.9);
Tailwind
colors: {
  custom: {
    50: '#726da2',
    500: '#34367c',
    950: '#000000',
  },
}
SCSS
$custom: #34367c;
$custom-light: #726da2;
$custom-dark: #000000;
JSON
{
  "hex": "#34367c",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 238.333,
    "s": 40.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37239,
    "c": 0.11631,
    "h": 277.9
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#34367C
secondary
#A9A763
accent
#CD57D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #34367C

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

Preview Lab → · Contrast checker → · Palette generator →

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