#34367B#34367B

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

Color values

HEX#34367B
RGBrgb(52, 54, 123)
HSLhsl(238, 41%, 34%)
HSVhsv(238, 58%, 48%)
CMYKcmyk(57.7%, 56.1%, 0%, 51.8%)
CIE-LABlab(26.15, 20.76, -39.73)
CIE-LCHlch(26.15, 44.83, 297.59°)
OKLaboklab(37.16% 0.0159 -0.1137)
OKLCHoklch(37.16% 0.115 278)
XYZxyz(6.3094, 4.7980, 19.3287)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34367B #7B7934
analogous
#345A7B #34367B #56347B
triadic
#34367B #7B3436 #367B34
tetradic
#34367B #7B345A #7B7934 #347B56
square
#34367B #7B345A #7B7934 #347B56
split-complementary
#34367B #7B5634 #5A7B34
monochromatic
#101025 #222350 #34367B #4649A6 #6A6CC0

Accessibility & contrast

On white

10.72
#34367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34367B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34367B#FFFFFF#000000##FFFFFF
##34367B1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B417D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#0F4653
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #34367b;
/* rgb */ color: rgb(52, 54, 123);
/* oklch */ color: oklch(37.2% 0.115 278.0);
Tailwind
colors: {
  custom: {
    50: '#726da2',
    500: '#34367b',
    950: '#000000',
  },
}
SCSS
$custom: #34367b;
$custom-light: #726da2;
$custom-dark: #000000;
JSON
{
  "hex": "#34367b",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 238.31,
    "s": 40.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3716,
    "c": 0.11481,
    "h": 278
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#34367B
secondary
#A8A663
accent
#CD57D0
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #34367B

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

Preview Lab → · Contrast checker → · Palette generator →

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