#1E2CA1#1E2CA1

#1E2CA1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.186 H 268.9°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#1E2CA1
RGBrgb(30, 44, 161)
HSLhsl(234, 69%, 37%)
HSVhsv(234, 81%, 63%)
CMYKcmyk(81.4%, 72.7%, 0%, 36.9%)
CIE-LABlab(25.71, 38.11, -64.03)
CIE-LCHlch(25.71, 74.51, 300.76°)
OKLaboklab(37.53% -0.0036 -0.1855)
OKLCHoklch(37.53% 0.186 268.9)
XYZxyz(7.8669, 4.6497, 34.1942)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2CA1 #A1931E
analogous
#1E6DA1 #1E2CA1 #521EA1
triadic
#1E2CA1 #A11E2C #2CA11E
tetradic
#1E2CA1 #A11E6D #A1931E #1EA152
square
#1E2CA1 #A11E6D #A1931E #1EA152
split-complementary
#1E2CA1 #A1521E #6DA11E
monochromatic
#0B103A #141E6D #1E2CA1 #283AD5 #5968E0

Accessibility & contrast

On white

10.88
#1E2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1E2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2CA1
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2CA1#FFFFFF#000000##FFFFFF
##1E2CA11.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e2ca1;
/* rgb */ color: rgb(30, 44, 161);
/* oklch */ color: oklch(37.5% 0.186 268.9);
Tailwind
colors: {
  custom: {
    50: '#7366be',
    500: '#1e2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #1e2ca1;
$custom-light: #7366be;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2ca1",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 233.588,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37525,
    "c": 0.18553,
    "h": 268.9
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#1E2CA1
secondary
#C4B857
accent
#D93CEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #1E2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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