#1E2270#1E2270

#1E2270 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.132 H 273.3°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#1E2270
RGBrgb(30, 34, 112)
HSLhsl(237, 58%, 28%)
HSVhsv(237, 73%, 44%)
CMYKcmyk(73.2%, 69.6%, 0%, 56.1%)
CIE-LABlab(18.32, 26.44, -45.51)
CIE-LCHlch(18.32, 52.64, 300.16°)
OKLaboklab(30.67% 0.0076 -0.1315)
OKLCHoklch(30.67% 0.132 273.3)
XYZxyz(4.0311, 2.5895, 15.6135)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2270 #706C1E
analogous
#1E4B70 #1E2270 #431E70
triadic
#1E2270 #701E22 #22701E
tetradic
#1E2270 #701E4B #706C1E #1E7043
square
#1E2270 #701E4B #706C1E #1E7043
split-complementary
#1E2270 #70431E #4B701E
monochromatic
#060718 #111340 #1E2270 #2B31A0 #3D44CB

Accessibility & contrast

On white

13.83
#1E2270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E2270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2270
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2270#FFFFFF#000000##FFFFFF
##1E22701.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e2270;
/* rgb */ color: rgb(30, 34, 112);
/* oklch */ color: oklch(30.7% 0.132 273.3);
Tailwind
colors: {
  custom: {
    50: '#675d9a',
    500: '#1e2270',
    950: '#000000',
  },
}
SCSS
$custom: #1e2270;
$custom-light: #675d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2270",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 237.073,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30669,
    "c": 0.13171,
    "h": 273.3
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#1E2270
secondary
#A4A046
accent
#D947E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2270

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

Preview Lab → · Contrast checker → · Palette generator →

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