#34397D#34397D

#34397D is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.9% C 0.113 H 276.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#34397D
RGBrgb(52, 57, 125)
HSLhsl(236, 41%, 35%)
HSVhsv(236, 58%, 49%)
CMYKcmyk(58.4%, 54.4%, 0%, 51%)
CIE-LABlab(27.12, 19.44, -39.43)
CIE-LCHlch(27.12, 43.96, 296.25°)
OKLaboklab(37.93% 0.0126 -0.1128)
OKLCHoklch(37.93% 0.113 276.4)
XYZxyz(6.5798, 5.1365, 20.0428)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34397D #7D7834
analogous
#345E7D #34397D #53347D
triadic
#34397D #7D3439 #397D34
tetradic
#34397D #7D345E #7D7834 #347D53
square
#34397D #7D345E #7D7834 #347D53
split-complementary
#34397D #7D5334 #5E7D34
monochromatic
#101227 #222552 #34397D #464DA8 #6A70C1

Accessibility & contrast

On white

10.36
#34397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#34397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34397D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34397D#FFFFFF#000000##FFFFFF
##34397D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13437F
Deuteranopia (green-blind)
#043D7C
Tritanopia (blue-blind)
#0B4855
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #34397d;
/* rgb */ color: rgb(52, 57, 125);
/* oklch */ color: oklch(37.9% 0.113 276.4);
Tailwind
colors: {
  custom: {
    50: '#726fa3',
    500: '#34397d',
    950: '#000000',
  },
}
SCSS
$custom: #34397d;
$custom-light: #726fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#34397d",
  "rgb": {
    "r": 52,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 235.89,
    "s": 41.243,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37932,
    "c": 0.11348,
    "h": 276.4
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#34397D
secondary
#A9A464
accent
#C957D1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #34397D

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

Preview Lab → · Contrast checker → · Palette generator →

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