#34367F#34367F

#34367F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.121 H 277.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#34367F
RGBrgb(52, 54, 127)
HSLhsl(238, 42%, 35%)
HSVhsv(238, 59%, 50%)
CMYKcmyk(59.1%, 57.5%, 0%, 50.2%)
CIE-LABlab(26.45, 22.18, -41.77)
CIE-LCHlch(26.45, 47.29, 297.97°)
OKLaboklab(37.48% 0.0161 -0.1197)
OKLCHoklch(37.48% 0.121 277.7)
XYZxyz(6.5649, 4.9002, 20.6745)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34367F #7F7D34
analogous
#345B7F #34367F #57347F
triadic
#34367F #7F3436 #367F34
tetradic
#34367F #7F345B #7F7D34 #347F57
square
#34367F #7F345B #7F7D34 #347F57
split-complementary
#34367F #7F5734 #5B7F34
monochromatic
#101128 #222454 #34367F #4648AA #6B6DC2

Accessibility & contrast

On white

10.60
#34367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34367F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34367F#FFFFFF#000000##FFFFFF
##34367F1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024281
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#084755
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #34367f;
/* rgb */ color: rgb(52, 54, 127);
/* oklch */ color: oklch(37.5% 0.121 277.7);
Tailwind
colors: {
  custom: {
    50: '#736da5',
    500: '#34367f',
    950: '#000000',
  },
}
SCSS
$custom: #34367f;
$custom-light: #736da5;
$custom-dark: #000000;
JSON
{
  "hex": "#34367f",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 238.4,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37477,
    "c": 0.12078,
    "h": 277.7
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#34367F
secondary
#AAA964
accent
#CE56D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #34367F

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

Preview Lab → · Contrast checker → · Palette generator →

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