#34377E#34377E

#34377E is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.6% C 0.118 H 277.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#34377E
RGBrgb(52, 55, 126)
HSLhsl(238, 42%, 35%)
HSVhsv(238, 59%, 49%)
CMYKcmyk(58.7%, 56.3%, 0%, 50.6%)
CIE-LABlab(26.64, 21.15, -40.82)
CIE-LCHlch(26.64, 45.98, 297.39°)
OKLaboklab(37.6% 0.015 -0.1169)
OKLCHoklch(37.6% 0.118 277.3)
XYZxyz(6.5471, 4.9683, 20.3486)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34377E #7E7B34
analogous
#345C7E #34377E #56347E
triadic
#34377E #7E3437 #377E34
tetradic
#34377E #7E345C #7E7B34 #347E56
square
#34377E #7E345C #7E7B34 #347E56
split-complementary
#34377E #7E5634 #5C7E34
monochromatic
#101127 #222453 #34377E #464AA9 #6B6EC2

Accessibility & contrast

On white

10.53
#34377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34377E
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34377E#FFFFFF#000000##FFFFFF
##34377E1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34377e;
/* rgb */ color: rgb(52, 55, 126);
/* oklch */ color: oklch(37.6% 0.118 277.3);
Tailwind
colors: {
  custom: {
    50: '#736da4',
    500: '#34377e',
    950: '#000000',
  },
}
SCSS
$custom: #34377e;
$custom-light: #736da4;
$custom-dark: #000000;
JSON
{
  "hex": "#34377e",
  "rgb": {
    "r": 52,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 237.568,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37599,
    "c": 0.11786,
    "h": 277.3
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#34377E
secondary
#AAA764
accent
#CC56D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #34377E

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

Preview Lab → · Contrast checker → · Palette generator →

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