#1E2A70#1E2A70

#1E2A70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.121 H 270.6°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1E2A70
RGBrgb(30, 42, 112)
HSLhsl(231, 58%, 28%)
HSVhsv(231, 73%, 44%)
CMYKcmyk(73.2%, 62.5%, 0%, 56.1%)
CIE-LABlab(20.45, 20.89, -42.04)
CIE-LCHlch(20.45, 46.94, 296.42°)
OKLaboklab(32.23% 0.0013 -0.1212)
OKLCHoklch(32.23% 0.121 270.6)
XYZxyz(4.2870, 3.1014, 15.6988)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A70 #70641E
analogous
#1E5370 #1E2A70 #3B1E70
triadic
#1E2A70 #701E2A #2A701E
tetradic
#1E2A70 #701E53 #70641E #1E703B
square
#1E2A70 #701E53 #70641E #1E703B
split-complementary
#1E2A70 #703B1E #53701E
monochromatic
#060918 #111840 #1E2A70 #2B3CA0 #3D52CB

Accessibility & contrast

On white

12.96
#1E2A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A70
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A70#FFFFFF#000000##FFFFFF
##1E2A701.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2a70;
/* rgb */ color: rgb(30, 42, 112);
/* oklch */ color: oklch(32.2% 0.121 270.6);
Tailwind
colors: {
  custom: {
    50: '#66639a',
    500: '#1e2a70',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a70;
$custom-light: #66639a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a70",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 231.22,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32232,
    "c": 0.12124,
    "h": 270.6
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#1E2A70
secondary
#A49646
accent
#CA47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1E2A70

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

Preview Lab → · Contrast checker → · Palette generator →

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