#34538E#34538E

#34538E is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.104 H 262.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#34538E
RGBrgb(52, 83, 142)
HSLhsl(219, 46%, 38%)
HSVhsv(219, 63%, 56%)
CMYKcmyk(63.4%, 41.5%, 0%, 44.3%)
CIE-LABlab(35.73, 8.17, -36.15)
CIE-LCHlch(35.73, 37.07, 282.73°)
OKLaboklab(44.86% -0.0142 -0.1028)
OKLCHoklch(44.86% 0.104 262.1)
XYZxyz(9.3902, 8.8687, 26.8029)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34538E #8E6F34
analogous
#34808E #34538E #42348E
triadic
#34538E #8E3453 #538E34
tetradic
#34538E #8E3480 #8E6F34 #348E42
square
#34538E #8E3480 #8E6F34 #348E42
split-complementary
#34538E #8E4234 #808E34
monochromatic
#131F34 #243961 #34538E #446DBB #7190CB

Accessibility & contrast

On white

7.57
#34538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#34538E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34538E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34538E#FFFFFF#000000##FFFFFF
##34538E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395990
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #34538e;
/* rgb */ color: rgb(52, 83, 142);
/* oklch */ color: oklch(44.9% 0.104 262.1);
Tailwind
colors: {
  custom: {
    50: '#7483af',
    500: '#34538e',
    950: '#000000',
  },
}
SCSS
$custom: #34538e;
$custom-light: #7483af;
$custom-dark: #000000;
JSON
{
  "hex": "#34538e",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 219.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44855,
    "c": 0.10383,
    "h": 262.1
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#34538E
secondary
#B39A6A
accent
#A852D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #34538E

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

Preview Lab → · Contrast checker → · Palette generator →

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