#1E2B70#1E2B70

#1E2B70 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.120 H 270.2°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1E2B70
RGBrgb(30, 43, 112)
HSLhsl(230, 58%, 28%)
HSVhsv(230, 73%, 44%)
CMYKcmyk(73.2%, 61.6%, 0%, 56.1%)
CIE-LABlab(20.72, 20.18, -41.58)
CIE-LCHlch(20.72, 46.22, 295.89°)
OKLaboklab(32.44% 0.0004 -0.1199)
OKLCHoklch(32.44% 0.12 270.2)
XYZxyz(4.3229, 3.1732, 15.7108)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B70 #70631E
analogous
#1E5470 #1E2B70 #3A1E70
triadic
#1E2B70 #701E2B #2B701E
tetradic
#1E2B70 #701E54 #70631E #1E703A
square
#1E2B70 #701E54 #70631E #1E703A
split-complementary
#1E2B70 #703A1E #54701E
monochromatic
#060918 #111840 #1E2B70 #2B3EA0 #3D54CB

Accessibility & contrast

On white

12.85
#1E2B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E2B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B70
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B70#FFFFFF#000000##FFFFFF
##1E2B701.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2b70;
/* rgb */ color: rgb(30, 43, 112);
/* oklch */ color: oklch(32.4% 0.120 270.2);
Tailwind
colors: {
  custom: {
    50: '#66649a',
    500: '#1e2b70',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b70;
$custom-light: #66649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b70",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 230.488,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32439,
    "c": 0.11988,
    "h": 270.2
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2B70

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

Preview Lab → · Contrast checker → · Palette generator →

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