#1E2B71#1E2B71

#1E2B71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.121 H 270.2°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1E2B71
RGBrgb(30, 43, 113)
HSLhsl(231, 58%, 28%)
HSVhsv(231, 73%, 44%)
CMYKcmyk(73.5%, 61.9%, 0%, 55.7%)
CIE-LABlab(20.81, 20.58, -42.09)
CIE-LCHlch(20.81, 46.85, 296.06°)
OKLaboklab(32.53% 0.0004 -0.1214)
OKLCHoklch(32.53% 0.121 270.2)
XYZxyz(4.3789, 3.1956, 16.0056)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B71 #71641E
analogous
#1E5471 #1E2B71 #3A1E71
triadic
#1E2B71 #711E2B #2B711E
tetradic
#1E2B71 #711E54 #71641E #1E713A
square
#1E2B71 #711E54 #71641E #1E713A
split-complementary
#1E2B71 #713A1E #54711E
monochromatic
#060918 #111941 #1E2B71 #2B3DA1 #3E54CC

Accessibility & contrast

On white

12.81
#1E2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E2B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B71
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B71#FFFFFF#000000##FFFFFF
##1E2B711.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2b71;
/* rgb */ color: rgb(30, 43, 113);
/* oklch */ color: oklch(32.5% 0.121 270.2);
Tailwind
colors: {
  custom: {
    50: '#66649a',
    500: '#1e2b71',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b71;
$custom-light: #66649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b71",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 230.602,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3253,
    "c": 0.12136,
    "h": 270.2
  },
  "luminance": 0.03196
}

Semantic roles & 50–950 ramp

primary
#1E2B71
secondary
#A59646
accent
#C947E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1E2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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