#34367A#34367A

#34367A is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.1% C 0.113 H 278.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#34367A
RGBrgb(52, 54, 122)
HSLhsl(238, 40%, 34%)
HSVhsv(238, 57%, 48%)
CMYKcmyk(57.4%, 55.7%, 0%, 52.2%)
CIE-LABlab(26.08, 20.41, -39.21)
CIE-LCHlch(26.08, 44.21, 297.50°)
OKLaboklab(37.08% 0.0159 -0.1122)
OKLCHoklch(37.08% 0.113 278.1)
XYZxyz(6.2471, 4.7731, 19.0007)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34367A #7A7834
analogous
#34597A #34367A #55347A
triadic
#34367A #7A3436 #367A34
tetradic
#34367A #7A3459 #7A7834 #347A55
square
#34367A #7A3459 #7A7834 #347A55
split-complementary
#34367A #7A5534 #597A34
monochromatic
#0F1024 #22234F #34367A #4649A5 #696CBF

Accessibility & contrast

On white

10.74
#34367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#34367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34367A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34367A#FFFFFF#000000##FFFFFF
##34367A1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D417C
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#114552
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #34367a;
/* rgb */ color: rgb(52, 54, 122);
/* oklch */ color: oklch(37.1% 0.113 278.1);
Tailwind
colors: {
  custom: {
    50: '#726da1',
    500: '#34367a',
    950: '#000000',
  },
}
SCSS
$custom: #34367a;
$custom-light: #726da1;
$custom-dark: #000000;
JSON
{
  "hex": "#34367a",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 238.286,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37082,
    "c": 0.11331,
    "h": 278.1
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#34367A
secondary
#A7A563
accent
#CD58D0
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #34367A

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

Preview Lab → · Contrast checker → · Palette generator →

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