#1E3BA7#1E3BA7

#1E3BA7 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.176 H 266.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#1E3BA7
RGBrgb(30, 59, 167)
HSLhsl(227, 70%, 39%)
HSVhsv(227, 82%, 65%)
CMYKcmyk(82%, 64.7%, 0%, 34.5%)
CIE-LABlab(29.89, 30.68, -60.77)
CIE-LCHlch(29.89, 68.08, 296.79°)
OKLaboklab(40.75% -0.011 -0.176)
OKLCHoklch(40.75% 0.176 266.4)
XYZxyz(9.0720, 6.1929, 37.2689)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3BA7 #A78A1E
analogous
#1E7FA7 #1E3BA7 #451EA7
triadic
#1E3BA7 #A71E3B #3BA71E
tetradic
#1E3BA7 #A71E7F #A78A1E #1EA745
square
#1E3BA7 #A71E7F #A78A1E #1EA745
split-complementary
#1E3BA7 #A7451E #7FA71E
monochromatic
#0B163F #152973 #1E3BA7 #2A4FD9 #5D79E2

Accessibility & contrast

On white

9.38
#1E3BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1E3BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3BA7
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3BA7#FFFFFF#000000##FFFFFF
##1E3BA71.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e3ba7;
/* rgb */ color: rgb(30, 59, 167);
/* oklch */ color: oklch(40.7% 0.176 266.4);
Tailwind
colors: {
  custom: {
    50: '#7370c2',
    500: '#1e3ba7',
    950: '#000000',
  },
}
SCSS
$custom: #1e3ba7;
$custom-light: #7370c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3ba7",
  "rgb": {
    "r": 30,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 227.299,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40748,
    "c": 0.1763,
    "h": 266.4
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E3BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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