#1E34A6#1E34A6

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

Color values

HEX#1E34A6
RGBrgb(30, 52, 166)
HSLhsl(230, 69%, 38%)
HSVhsv(230, 82%, 65%)
CMYKcmyk(81.9%, 68.7%, 0%, 34.9%)
CIE-LABlab(28.07, 34.89, -63.17)
CIE-LCHlch(28.07, 72.16, 298.91°)
OKLaboklab(39.38% -0.0075 -0.183)
OKLCHoklch(39.38% 0.183 267.7)
XYZxyz(8.6440, 5.4842, 36.6720)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E34A6 #A6901E
analogous
#1E78A6 #1E34A6 #4C1EA6
triadic
#1E34A6 #A61E34 #34A61E
tetradic
#1E34A6 #A61E78 #A6901E #1EA64C
square
#1E34A6 #A61E78 #A6901E #1EA64C
split-complementary
#1E34A6 #A64C1E #78A61E
monochromatic
#0B143E #152472 #1E34A6 #2945D8 #5D72E2

Accessibility & contrast

On white

10.01
#1E34A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E34A6
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E34A6#FFFFFF#000000##FFFFFF
##1E34A61.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1e34a6;
/* rgb */ color: rgb(30, 52, 166);
/* oklch */ color: oklch(39.4% 0.183 267.7);
Tailwind
colors: {
  custom: {
    50: '#736bc2',
    500: '#1e34a6',
    950: '#000000',
  },
}
SCSS
$custom: #1e34a6;
$custom-light: #736bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e34a6",
  "rgb": {
    "r": 30,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 230.294,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39384,
    "c": 0.18314,
    "h": 267.7
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#1E34A6
secondary
#C6B45A
accent
#D03CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #1E34A6

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

Preview Lab → · Contrast checker → · Palette generator →

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