#34499F#34499F

#34499F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.142 H 269.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#34499F
RGBrgb(52, 73, 159)
HSLhsl(228, 51%, 41%)
HSVhsv(228, 67%, 62%)
CMYKcmyk(67.3%, 54.1%, 0%, 37.6%)
CIE-LABlab(33.98, 21.05, -49.26)
CIE-LCHlch(33.98, 53.57, 293.14°)
OKLaboklab(43.87% -0.0014 -0.1415)
OKLCHoklch(43.87% 0.142 269.4)
XYZxyz(10.0546, 7.9974, 33.8079)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34499F #9F8A34
analogous
#347F9F #34499F #55349F
triadic
#34499F #9F3449 #499F34
tetradic
#34499F #9F347F #9F8A34 #349F55
square
#34499F #9F347F #9F8A34 #349F55
split-complementary
#34499F #9F5534 #7F9F34
monochromatic
#161F43 #253471 #34499F #4C63C4 #7A8CD3

Accessibility & contrast

On white

8.08
#34499F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#34499F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34499F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34499F#FFFFFF#000000##FFFFFF
##34499F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E55A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #34499f;
/* rgb */ color: rgb(52, 73, 159);
/* oklch */ color: oklch(43.9% 0.142 269.4);
Tailwind
colors: {
  custom: {
    50: '#787bbc',
    500: '#34499f',
    950: '#000000',
  },
}
SCSS
$custom: #34499f;
$custom-light: #787bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#34499f",
  "rgb": {
    "r": 52,
    "g": 73,
    "b": 159
  },
  "hsl": {
    "h": 228.224,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43873,
    "c": 0.14154,
    "h": 269.4
  },
  "luminance": 0.07998
}

Semantic roles & 50–950 ramp

primary
#34499F
secondary
#BCAE73
accent
#BF4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #34499F

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

Preview Lab → · Contrast checker → · Palette generator →

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