#1E2FA1#1E2FA1

#1E2FA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.182 H 268.5°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#1E2FA1
RGBrgb(30, 47, 161)
HSLhsl(232, 69%, 37%)
HSVhsv(232, 81%, 63%)
CMYKcmyk(81.4%, 70.8%, 0%, 36.9%)
CIE-LABlab(26.39, 36.23, -62.90)
CIE-LCHlch(26.39, 72.59, 299.94°)
OKLaboklab(38.02% -0.0048 -0.1822)
OKLCHoklch(38.02% 0.182 268.5)
XYZxyz(7.9827, 4.8813, 34.2328)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2FA1 #A1901E
analogous
#1E70A1 #1E2FA1 #4F1EA1
triadic
#1E2FA1 #A11E2F #2FA11E
tetradic
#1E2FA1 #A11E70 #A1901E #1EA14F
square
#1E2FA1 #A11E70 #A1901E #1EA14F
split-complementary
#1E2FA1 #A14F1E #70A11E
monochromatic
#0B113A #14206D #1E2FA1 #283ED5 #596BE0

Accessibility & contrast

On white

10.63
#1E2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1E2FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2FA1
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2FA1#FFFFFF#000000##FFFFFF
##1E2FA11.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e2fa1;
/* rgb */ color: rgb(30, 47, 161);
/* oklch */ color: oklch(38.0% 0.182 268.5);
Tailwind
colors: {
  custom: {
    50: '#7268be',
    500: '#1e2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #1e2fa1;
$custom-light: #7268be;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2fa1",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 232.214,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38016,
    "c": 0.18229,
    "h": 268.5
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#1E2FA1
secondary
#C4B657
accent
#D53CEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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