#1E2572#1E2572

#1E2572 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.131 H 272.3°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#1E2572
RGBrgb(30, 37, 114)
HSLhsl(235, 58%, 28%)
HSVhsv(235, 74%, 45%)
CMYKcmyk(73.7%, 67.5%, 0%, 55.3%)
CIE-LABlab(19.28, 25.16, -45.23)
CIE-LCHlch(19.28, 51.75, 299.09°)
OKLaboklab(31.43% 0.0052 -0.1306)
OKLCHoklch(31.43% 0.131 272.3)
XYZxyz(4.2332, 2.8136, 16.2363)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2572 #726B1E
analogous
#1E4F72 #1E2572 #411E72
triadic
#1E2572 #721E25 #25721E
tetradic
#1E2572 #721E4F #726B1E #1E7241
square
#1E2572 #721E4F #726B1E #1E7241
split-complementary
#1E2572 #72411E #4F721E
monochromatic
#060818 #111542 #1E2572 #2B35A2 #3E4ACC

Accessibility & contrast

On white

13.44
#1E2572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1E2572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2572
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2572#FFFFFF#000000##FFFFFF
##1E25721.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e2572;
/* rgb */ color: rgb(30, 37, 114);
/* oklch */ color: oklch(31.4% 0.131 272.3);
Tailwind
colors: {
  custom: {
    50: '#675f9b',
    500: '#1e2572',
    950: '#000000',
  },
}
SCSS
$custom: #1e2572;
$custom-light: #675f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2572",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 235,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3143,
    "c": 0.13074,
    "h": 272.3
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#1E2572
secondary
#A69E46
accent
#D546E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2572

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

Preview Lab → · Contrast checker → · Palette generator →

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