#1E28A0#1E28A0

#1E28A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.188 H 269.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#1E28A0
RGBrgb(30, 40, 160)
HSLhsl(235, 68%, 37%)
HSVhsv(235, 81%, 63%)
CMYKcmyk(81.3%, 75%, 0%, 37.3%)
CIE-LABlab(24.74, 40.17, -65.03)
CIE-LCHlch(24.74, 76.44, 301.71°)
OKLaboklab(36.8% -0.0019 -0.1884)
OKLCHoklch(36.8% 0.188 269.4)
XYZxyz(7.6372, 4.3308, 33.6843)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E28A0 #A0961E
analogous
#1E69A0 #1E28A0 #551EA0
triadic
#1E28A0 #A01E28 #28A01E
tetradic
#1E28A0 #A01E69 #A0961E #1EA055
square
#1E28A0 #A01E69 #A0961E #1EA055
split-complementary
#1E28A0 #A0551E #69A01E
monochromatic
#0B0E39 #141B6C #1E28A0 #2835D4 #5963E0

Accessibility & contrast

On white

11.25
#1E28A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1E28A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E28A0
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E28A0#FFFFFF#000000##FFFFFF
##1E28A01.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e28a0;
/* rgb */ color: rgb(30, 40, 160);
/* oklch */ color: oklch(36.8% 0.188 269.4);
Tailwind
colors: {
  custom: {
    50: '#7363bd',
    500: '#1e28a0',
    950: '#000000',
  },
}
SCSS
$custom: #1e28a0;
$custom-light: #7363bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e28a0",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 235.385,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36795,
    "c": 0.18841,
    "h": 269.4
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#1E28A0
secondary
#C4BB56
accent
#DE3DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #1E28A0

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

Preview Lab → · Contrast checker → · Palette generator →

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