#34458A#34458A

#34458A is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.4% C 0.116 H 270.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#34458A
RGBrgb(52, 69, 138)
HSLhsl(228, 45%, 37%)
HSVhsv(228, 62%, 54%)
CMYKcmyk(62.3%, 50%, 0%, 45.9%)
CIE-LABlab(31.39, 16.02, -40.63)
CIE-LCHlch(31.39, 43.68, 291.51°)
OKLaboklab(41.45% 0.0005 -0.1162)
OKLCHoklch(41.45% 0.116 270.3)
XYZxyz(8.1302, 6.8206, 24.9279)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34458A #8A7934
analogous
#34708A #34458A #4E348A
triadic
#34458A #8A3445 #458A34
tetradic
#34458A #8A3470 #8A7934 #348A4E
square
#34458A #8A3470 #8A7934 #348A4E
split-complementary
#34458A #8A4E34 #708A34
monochromatic
#131931 #232F5E #34458A #455BB6 #6F81C9

Accessibility & contrast

On white

8.88
#34458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#34458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34458A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34458A#FFFFFF#000000##FFFFFF
##34458A1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#124689
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #34458a;
/* rgb */ color: rgb(52, 69, 138);
/* oklch */ color: oklch(41.4% 0.116 270.3);
Tailwind
colors: {
  custom: {
    50: '#7478ad',
    500: '#34458a',
    950: '#000000',
  },
}
SCSS
$custom: #34458a;
$custom-light: #7478ad;
$custom-dark: #000000;
JSON
{
  "hex": "#34458a",
  "rgb": {
    "r": 52,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 228.14,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4145,
    "c": 0.1162,
    "h": 270.3
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#34458A
secondary
#B1A369
accent
#BB53D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #34458A

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

Preview Lab → · Contrast checker → · Palette generator →

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