#1E26A1#1E26A1

#1E26A1 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.192 H 269.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#1E26A1
RGBrgb(30, 38, 161)
HSLhsl(236, 69%, 37%)
HSVhsv(236, 81%, 63%)
CMYKcmyk(81.4%, 76.4%, 0%, 36.9%)
CIE-LABlab(24.43, 41.69, -66.14)
CIE-LCHlch(24.43, 78.18, 302.22°)
OKLaboklab(36.61% -0.0014 -0.1916)
OKLCHoklch(36.61% 0.192 269.6)
XYZxyz(7.6594, 4.2346, 34.1250)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E26A1 #A1991E
analogous
#1E67A1 #1E26A1 #581EA1
triadic
#1E26A1 #A11E26 #26A11E
tetradic
#1E26A1 #A11E67 #A1991E #1EA158
square
#1E26A1 #A11E67 #A1991E #1EA158
split-complementary
#1E26A1 #A1581E #67A11E
monochromatic
#0B0E3A #141A6D #1E26A1 #2832D5 #5962E0

Accessibility & contrast

On white

11.37
#1E26A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1E26A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E26A1
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E26A1#FFFFFF#000000##FFFFFF
##1E26A11.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00339F
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e26a1;
/* rgb */ color: rgb(30, 38, 161);
/* oklch */ color: oklch(36.6% 0.192 269.6);
Tailwind
colors: {
  custom: {
    50: '#7362be',
    500: '#1e26a1',
    950: '#000000',
  },
}
SCSS
$custom: #1e26a1;
$custom-light: #7362be;
$custom-dark: #000000;
JSON
{
  "hex": "#1e26a1",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 236.336,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36611,
    "c": 0.19161,
    "h": 269.6
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#1E26A1
secondary
#C4BD57
accent
#E13CEB
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1E26A1

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

Preview Lab → · Contrast checker → · Palette generator →

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