#34458F#34458F

#34458F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.124 H 270.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#34458F
RGBrgb(52, 69, 143)
HSLhsl(229, 47%, 38%)
HSVhsv(229, 64%, 56%)
CMYKcmyk(63.6%, 51.7%, 0%, 43.9%)
CIE-LABlab(31.74, 17.84, -43.16)
CIE-LCHlch(31.74, 46.70, 292.46°)
OKLaboklab(41.82% 0.0011 -0.1236)
OKLCHoklch(41.82% 0.124 270.5)
XYZxyz(8.5006, 6.9688, 26.8784)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34458F #8F7E34
analogous
#34728F #34458F #50348F
triadic
#34458F #8F3445 #458F34
tetradic
#34458F #8F3472 #8F7E34 #348F50
square
#34458F #8F3472 #8F7E34 #348F50
split-complementary
#34458F #8F5034 #728F34
monochromatic
#131A35 #242F62 #34458F #455BBB #7283CC

Accessibility & contrast

On white

8.77
#34458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#34458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34458F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34458F#FFFFFF#000000##FFFFFF
##34458F1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#04478D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #34458f;
/* rgb */ color: rgb(52, 69, 143);
/* oklch */ color: oklch(41.8% 0.124 270.5);
Tailwind
colors: {
  custom: {
    50: '#7578b0',
    500: '#34458f',
    950: '#000000',
  },
}
SCSS
$custom: #34458f;
$custom-light: #7578b0;
$custom-dark: #000000;
JSON
{
  "hex": "#34458f",
  "rgb": {
    "r": 52,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 228.791,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41818,
    "c": 0.12362,
    "h": 270.5
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#34458F
secondary
#B4A66B
accent
#BD51D6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #34458F

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

Preview Lab → · Contrast checker → · Palette generator →

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