#34367E#34367E

#34367E is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.4% C 0.119 H 277.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#34367E
RGBrgb(52, 54, 126)
HSLhsl(238, 42%, 35%)
HSVhsv(238, 59%, 49%)
CMYKcmyk(58.7%, 57.1%, 0%, 50.6%)
CIE-LABlab(26.37, 21.82, -41.26)
CIE-LCHlch(26.37, 46.68, 297.88°)
OKLaboklab(37.4% 0.0161 -0.1182)
OKLCHoklch(37.4% 0.119 277.7)
XYZxyz(6.5000, 4.8743, 20.3329)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34367E #7E7C34
analogous
#345B7E #34367E #57347E
triadic
#34367E #7E3436 #367E34
tetradic
#34367E #7E345B #7E7C34 #347E57
square
#34367E #7E345B #7E7C34 #347E57
split-complementary
#34367E #7E5734 #5B7E34
monochromatic
#101127 #222353 #34367E #4649A9 #6B6DC2

Accessibility & contrast

On white

10.63
#34367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#34367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34367E
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34367E#FFFFFF#000000##FFFFFF
##34367E1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044180
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#0A4754
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #34367e;
/* rgb */ color: rgb(52, 54, 126);
/* oklch */ color: oklch(37.4% 0.119 277.7);
Tailwind
colors: {
  custom: {
    50: '#736da4',
    500: '#34367e',
    950: '#000000',
  },
}
SCSS
$custom: #34367e;
$custom-light: #736da4;
$custom-dark: #000000;
JSON
{
  "hex": "#34367e",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 238.378,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37397,
    "c": 0.1193,
    "h": 277.7
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#34367E
secondary
#AAA864
accent
#CE56D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #34367E

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

Preview Lab → · Contrast checker → · Palette generator →

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