#1E28A1#1E28A1

#1E28A1 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.190 H 269.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#1E28A1
RGBrgb(30, 40, 161)
HSLhsl(235, 69%, 37%)
HSVhsv(235, 81%, 63%)
CMYKcmyk(81.4%, 75.2%, 0%, 36.9%)
CIE-LABlab(24.85, 40.52, -65.46)
CIE-LCHlch(24.85, 76.99, 301.76°)
OKLaboklab(36.91% -0.002 -0.1896)
OKLCHoklch(36.91% 0.19 269.4)
XYZxyz(7.7250, 4.3659, 34.1469)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E28A1 #A1971E
analogous
#1E69A1 #1E28A1 #561EA1
triadic
#1E28A1 #A11E28 #28A11E
tetradic
#1E28A1 #A11E69 #A1971E #1EA156
square
#1E28A1 #A11E69 #A1971E #1EA156
split-complementary
#1E28A1 #A1561E #69A11E
monochromatic
#0B0E3A #141B6D #1E28A1 #2835D5 #5964E0

Accessibility & contrast

On white

11.21
#1E28A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E28A1
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E28A1#FFFFFF#000000##FFFFFF
##1E28A11.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e28a1;
/* rgb */ color: rgb(30, 40, 161);
/* oklch */ color: oklch(36.9% 0.190 269.4);
Tailwind
colors: {
  custom: {
    50: '#7363be',
    500: '#1e28a1',
    950: '#000000',
  },
}
SCSS
$custom: #1e28a1;
$custom-light: #7363be;
$custom-dark: #000000;
JSON
{
  "hex": "#1e28a1",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 235.42,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36905,
    "c": 0.18965,
    "h": 269.4
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#1E28A1
secondary
#C4BC57
accent
#DE3CEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #1E28A1

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

Preview Lab → · Contrast checker → · Palette generator →

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