#1E2970#1E2970

#1E2970 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.123 H 271.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#1E2970
RGBrgb(30, 41, 112)
HSLhsl(232, 58%, 28%)
HSVhsv(232, 73%, 44%)
CMYKcmyk(73.2%, 63.4%, 0%, 56.1%)
CIE-LABlab(20.17, 21.60, -42.49)
CIE-LCHlch(20.17, 47.66, 296.94°)
OKLaboklab(32.03% 0.0021 -0.1226)
OKLCHoklch(32.03% 0.123 271)
XYZxyz(4.2520, 3.0313, 15.6871)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2970 #70651E
analogous
#1E5270 #1E2970 #3C1E70
triadic
#1E2970 #701E29 #29701E
tetradic
#1E2970 #701E52 #70651E #1E703C
square
#1E2970 #701E52 #70651E #1E703C
split-complementary
#1E2970 #703C1E #52701E
monochromatic
#060918 #111740 #1E2970 #2B3BA0 #3D50CB

Accessibility & contrast

On white

13.07
#1E2970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E2970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2970
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2970#FFFFFF#000000##FFFFFF
##1E29701.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2970;
/* rgb */ color: rgb(30, 41, 112);
/* oklch */ color: oklch(32.0% 0.123 271.0);
Tailwind
colors: {
  custom: {
    50: '#66629a',
    500: '#1e2970',
    950: '#000000',
  },
}
SCSS
$custom: #1e2970;
$custom-light: #66629a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2970",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 231.951,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32027,
    "c": 0.12258,
    "h": 271
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#1E2970
secondary
#A49746
accent
#CC47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1E2970

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

Preview Lab → · Contrast checker → · Palette generator →

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