#34458C#34458C

#34458C is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.6% C 0.119 H 270.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#34458C
RGBrgb(52, 69, 140)
HSLhsl(228, 46%, 38%)
HSVhsv(228, 63%, 55%)
CMYKcmyk(62.9%, 50.7%, 0%, 45.1%)
CIE-LABlab(31.53, 16.75, -41.65)
CIE-LCHlch(31.53, 44.89, 291.90°)
OKLaboklab(41.6% 0.0008 -0.1192)
OKLCHoklch(41.6% 0.119 270.4)
XYZxyz(8.2763, 6.8791, 25.6975)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34458C #8C7B34
analogous
#34718C #34458C #4F348C
triadic
#34458C #8C3445 #458C34
tetradic
#34458C #8C3471 #8C7B34 #348C4F
square
#34458C #8C3471 #8C7B34 #348C4F
split-complementary
#34458C #8C4F34 #718C34
monochromatic
#131933 #232F5F #34458C #455BB9 #7082CA

Accessibility & contrast

On white

8.84
#34458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34458C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34458C#FFFFFF#000000##FFFFFF
##34458C1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#0D468B
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #34458c;
/* rgb */ color: rgb(52, 69, 140);
/* oklch */ color: oklch(41.6% 0.119 270.4);
Tailwind
colors: {
  custom: {
    50: '#7478ae',
    500: '#34458c',
    950: '#000000',
  },
}
SCSS
$custom: #34458c;
$custom-light: #7478ae;
$custom-dark: #000000;
JSON
{
  "hex": "#34458c",
  "rgb": {
    "r": 52,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 228.409,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41596,
    "c": 0.11918,
    "h": 270.4
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#34458C
secondary
#B2A46A
accent
#BC52D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #34458C

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

Preview Lab → · Contrast checker → · Palette generator →

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