#34377D#34377D

#34377D is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.5% C 0.116 H 277.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#34377D
RGBrgb(52, 55, 125)
HSLhsl(238, 41%, 35%)
HSVhsv(238, 58%, 49%)
CMYKcmyk(58.4%, 56%, 0%, 51%)
CIE-LABlab(26.57, 20.79, -40.31)
CIE-LCHlch(26.57, 45.36, 297.29°)
OKLaboklab(37.52% 0.0149 -0.1154)
OKLCHoklch(37.52% 0.116 277.4)
XYZxyz(6.4829, 4.9427, 20.0105)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34377D #7D7A34
analogous
#345C7D #34377D #55347D
triadic
#34377D #7D3437 #377D34
tetradic
#34377D #7D345C #7D7A34 #347D55
square
#34377D #7D345C #7D7A34 #347D55
split-complementary
#34377D #7D5534 #5C7D34
monochromatic
#101127 #222452 #34377D #464AA8 #6A6EC1

Accessibility & contrast

On white

10.56
#34377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#34377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34377D
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34377D#FFFFFF#000000##FFFFFF
##34377D1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B427F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#0C4754
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #34377d;
/* rgb */ color: rgb(52, 55, 125);
/* oklch */ color: oklch(37.5% 0.116 277.4);
Tailwind
colors: {
  custom: {
    50: '#726da3',
    500: '#34377d',
    950: '#000000',
  },
}
SCSS
$custom: #34377d;
$custom-light: #726da3;
$custom-dark: #000000;
JSON
{
  "hex": "#34377d",
  "rgb": {
    "r": 52,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 237.534,
    "s": 41.243,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37521,
    "c": 0.11637,
    "h": 277.4
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#34377D
secondary
#A9A664
accent
#CC57D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #34377D

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

Preview Lab → · Contrast checker → · Palette generator →

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