#1E3CA7#1E3CA7

#1E3CA7 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.175 H 266.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#1E3CA7
RGBrgb(30, 60, 167)
HSLhsl(227, 70%, 39%)
HSVhsv(227, 82%, 65%)
CMYKcmyk(82%, 64.1%, 0%, 34.5%)
CIE-LABlab(30.15, 30.02, -60.36)
CIE-LCHlch(30.15, 67.41, 296.44°)
OKLaboklab(40.94% -0.0115 -0.1747)
OKLCHoklch(40.94% 0.175 266.2)
XYZxyz(9.1239, 6.2967, 37.2862)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3CA7 #A7891E
analogous
#1E80A7 #1E3CA7 #441EA7
triadic
#1E3CA7 #A71E3C #3CA71E
tetradic
#1E3CA7 #A71E80 #A7891E #1EA744
square
#1E3CA7 #A71E80 #A7891E #1EA744
split-complementary
#1E3CA7 #A7441E #80A71E
monochromatic
#0B173F #152973 #1E3CA7 #2A50D9 #5D7AE2

Accessibility & contrast

On white

9.29
#1E3CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1E3CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3CA7
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3CA7#FFFFFF#000000##FFFFFF
##1E3CA71.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e3ca7;
/* rgb */ color: rgb(30, 60, 167);
/* oklch */ color: oklch(40.9% 0.175 266.2);
Tailwind
colors: {
  custom: {
    50: '#7371c2',
    500: '#1e3ca7',
    950: '#000000',
  },
}
SCSS
$custom: #1e3ca7;
$custom-light: #7371c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3ca7",
  "rgb": {
    "r": 30,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 226.861,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40936,
    "c": 0.1751,
    "h": 266.2
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#1E3CA7
secondary
#C6AF5B
accent
#C63BEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #1E3CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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