#34367D#34367D

#34367D is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.3% C 0.118 H 277.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#34367D
RGBrgb(52, 54, 125)
HSLhsl(238, 41%, 35%)
HSVhsv(238, 58%, 49%)
CMYKcmyk(58.4%, 56.8%, 0%, 51%)
CIE-LABlab(26.30, 21.47, -40.75)
CIE-LCHlch(26.30, 46.06, 297.78°)
OKLaboklab(37.32% 0.016 -0.1167)
OKLCHoklch(37.32% 0.118 277.8)
XYZxyz(6.4358, 4.8486, 19.9948)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34367D #7D7B34
analogous
#345B7D #34367D #57347D
triadic
#34367D #7D3436 #367D34
tetradic
#34367D #7D345B #7D7B34 #347D57
square
#34367D #7D345B #7D7B34 #347D57
split-complementary
#34367D #7D5734 #5B7D34
monochromatic
#101127 #222352 #34367D #4649A8 #6A6DC1

Accessibility & contrast

On white

10.66
#34367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#34367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34367D
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34367D#FFFFFF#000000##FFFFFF
##34367D1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07417F
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#0C4654
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #34367d;
/* rgb */ color: rgb(52, 54, 125);
/* oklch */ color: oklch(37.3% 0.118 277.8);
Tailwind
colors: {
  custom: {
    50: '#736da3',
    500: '#34367d',
    950: '#000000',
  },
}
SCSS
$custom: #34367d;
$custom-light: #736da3;
$custom-dark: #000000;
JSON
{
  "hex": "#34367d",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 238.356,
    "s": 41.243,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37318,
    "c": 0.11781,
    "h": 277.8
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#34367D
secondary
#A9A764
accent
#CE57D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #34367D

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

Preview Lab → · Contrast checker → · Palette generator →

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