#1E2272#1E2272

#1E2272 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.135 H 273.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#1E2272
RGBrgb(30, 34, 114)
HSLhsl(237, 58%, 28%)
HSVhsv(237, 74%, 45%)
CMYKcmyk(73.7%, 70.2%, 0%, 55.3%)
CIE-LABlab(18.52, 27.20, -46.48)
CIE-LCHlch(18.52, 53.85, 300.33°)
OKLaboklab(30.87% 0.0074 -0.1343)
OKLCHoklch(30.87% 0.135 273.2)
XYZxyz(4.1437, 2.6346, 16.2065)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2272 #726E1E
analogous
#1E4C72 #1E2272 #441E72
triadic
#1E2272 #721E22 #22721E
tetradic
#1E2272 #721E4C #726E1E #1E7244
square
#1E2272 #721E4C #726E1E #1E7244
split-complementary
#1E2272 #72441E #4C721E
monochromatic
#060718 #111442 #1E2272 #2B30A2 #3E45CC

Accessibility & contrast

On white

13.75
#1E2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E2272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2272
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2272#FFFFFF#000000##FFFFFF
##1E22721.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e2272;
/* rgb */ color: rgb(30, 34, 114);
/* oklch */ color: oklch(30.9% 0.135 273.2);
Tailwind
colors: {
  custom: {
    50: '#675d9b',
    500: '#1e2272',
    950: '#000000',
  },
}
SCSS
$custom: #1e2272;
$custom-light: #675d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2272",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 237.143,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30873,
    "c": 0.13452,
    "h": 273.2
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#1E2272
secondary
#A6A146
accent
#DA46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2272

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

Preview Lab → · Contrast checker → · Palette generator →

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