#1E2FA0#1E2FA0

#1E2FA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.181 H 268.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#1E2FA0
RGBrgb(30, 47, 160)
HSLhsl(232, 68%, 37%)
HSVhsv(232, 81%, 63%)
CMYKcmyk(81.3%, 70.6%, 0%, 37.3%)
CIE-LABlab(26.29, 35.87, -62.46)
CIE-LCHlch(26.29, 72.03, 299.86°)
OKLaboklab(37.91% -0.0047 -0.1809)
OKLCHoklch(37.91% 0.181 268.5)
XYZxyz(7.8949, 4.8462, 33.7702)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2FA0 #A08F1E
analogous
#1E70A0 #1E2FA0 #4E1EA0
triadic
#1E2FA0 #A01E2F #2FA01E
tetradic
#1E2FA0 #A01E70 #A08F1E #1EA04E
square
#1E2FA0 #A01E70 #A08F1E #1EA04E
split-complementary
#1E2FA0 #A04E1E #70A01E
monochromatic
#0B1139 #14206C #1E2FA0 #283ED4 #596AE0

Accessibility & contrast

On white

10.66
#1E2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1E2FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2FA0
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2FA0#FFFFFF#000000##FFFFFF
##1E2FA01.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2fa0;
/* rgb */ color: rgb(30, 47, 160);
/* oklch */ color: oklch(37.9% 0.181 268.5);
Tailwind
colors: {
  custom: {
    50: '#7268bd',
    500: '#1e2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #1e2fa0;
$custom-light: #7268bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2fa0",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 232.154,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37912,
    "c": 0.18101,
    "h": 268.5
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#1E2FA0
secondary
#C4B556
accent
#D43DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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