#1E25A1#1E25A1

#1E25A1 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.193 H 269.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1E25A1
RGBrgb(30, 37, 161)
HSLhsl(237, 69%, 37%)
HSVhsv(237, 81%, 63%)
CMYKcmyk(81.4%, 77%, 0%, 36.9%)
CIE-LABlab(24.23, 42.26, -66.48)
CIE-LCHlch(24.23, 78.77, 302.45°)
OKLaboklab(36.47% -0.001 -0.1926)
OKLCHoklch(36.47% 0.193 269.7)
XYZxyz(7.6278, 4.1715, 34.1145)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E25A1 #A19A1E
analogous
#1E66A1 #1E25A1 #591EA1
triadic
#1E25A1 #A11E25 #25A11E
tetradic
#1E25A1 #A11E66 #A19A1E #1EA159
square
#1E25A1 #A11E66 #A19A1E #1EA159
split-complementary
#1E25A1 #A1591E #66A11E
monochromatic
#0B0D3A #14196D #1E25A1 #2831D5 #5960E0

Accessibility & contrast

On white

11.45
#1E25A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1E25A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E25A1
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E25A1#FFFFFF#000000##FFFFFF
##1E25A11.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e25a1;
/* rgb */ color: rgb(30, 37, 161);
/* oklch */ color: oklch(36.5% 0.193 269.7);
Tailwind
colors: {
  custom: {
    50: '#7361be',
    500: '#1e25a1',
    950: '#000000',
  },
}
SCSS
$custom: #1e25a1;
$custom-light: #7361be;
$custom-dark: #000000;
JSON
{
  "hex": "#1e25a1",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 236.794,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36468,
    "c": 0.19257,
    "h": 269.7
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

primary
#1E25A1
secondary
#C4BE57
accent
#E23CEB
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1E25A1

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

Preview Lab → · Contrast checker → · Palette generator →

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