#34458D#34458D

#34458D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.121 H 270.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#34458D
RGBrgb(52, 69, 141)
HSLhsl(229, 46%, 38%)
HSVhsv(229, 63%, 55%)
CMYKcmyk(63.1%, 51.1%, 0%, 44.7%)
CIE-LABlab(31.60, 17.11, -42.15)
CIE-LCHlch(31.60, 45.49, 292.09°)
OKLaboklab(41.67% 0.0009 -0.1207)
OKLCHoklch(41.67% 0.121 270.4)
XYZxyz(8.3504, 6.9087, 26.0876)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34458D #8D7C34
analogous
#34728D #34458D #4F348D
triadic
#34458D #8D3445 #458D34
tetradic
#34458D #8D3472 #8D7C34 #348D4F
square
#34458D #8D3472 #8D7C34 #348D4F
split-complementary
#34458D #8D4F34 #728D34
monochromatic
#131934 #242F60 #34458D #445BBA #7182CB

Accessibility & contrast

On white

8.82
#34458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#34458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34458D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34458D#FFFFFF#000000##FFFFFF
##34458D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E90
Deuteranopia (green-blind)
#0A478C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #34458d;
/* rgb */ color: rgb(52, 69, 141);
/* oklch */ color: oklch(41.7% 0.121 270.4);
Tailwind
colors: {
  custom: {
    50: '#7578af',
    500: '#34458d',
    950: '#000000',
  },
}
SCSS
$custom: #34458d;
$custom-light: #7578af;
$custom-dark: #000000;
JSON
{
  "hex": "#34458d",
  "rgb": {
    "r": 52,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 228.539,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4167,
    "c": 0.12066,
    "h": 270.4
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#34458D
secondary
#B3A56A
accent
#BD52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #34458D

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

Preview Lab → · Contrast checker → · Palette generator →

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