#1E34A7#1E34A7

#1E34A7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.184 H 267.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#1E34A7
RGBrgb(30, 52, 167)
HSLhsl(230, 70%, 39%)
HSVhsv(230, 82%, 65%)
CMYKcmyk(82%, 68.9%, 0%, 34.5%)
CIE-LABlab(28.17, 35.26, -63.61)
CIE-LCHlch(28.17, 72.72, 299.00°)
OKLaboklab(39.49% -0.0075 -0.1843)
OKLCHoklch(39.49% 0.184 267.7)
XYZxyz(8.7360, 5.5210, 37.1570)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E34A7 #A7911E
analogous
#1E78A7 #1E34A7 #4C1EA7
triadic
#1E34A7 #A71E34 #34A71E
tetradic
#1E34A7 #A71E78 #A7911E #1EA74C
square
#1E34A7 #A71E78 #A7911E #1EA74C
split-complementary
#1E34A7 #A74C1E #78A71E
monochromatic
#0B143F #152473 #1E34A7 #2A46D9 #5D73E2

Accessibility & contrast

On white

9.98
#1E34A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1E34A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E34A7
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E34A7#FFFFFF#000000##FFFFFF
##1E34A71.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1e34a7;
/* rgb */ color: rgb(30, 52, 167);
/* oklch */ color: oklch(39.5% 0.184 267.7);
Tailwind
colors: {
  custom: {
    50: '#746bc2',
    500: '#1e34a7',
    950: '#000000',
  },
}
SCSS
$custom: #1e34a7;
$custom-light: #746bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e34a7",
  "rgb": {
    "r": 30,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 230.365,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.18443,
    "h": 267.7
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#1E34A7
secondary
#C6B55B
accent
#D03BEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1E34A7

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

Preview Lab → · Contrast checker → · Palette generator →

#1E34A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva