#1E2985#1E2985

#1E2985 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.152 H 270.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1E2985
RGBrgb(30, 41, 133)
HSLhsl(234, 63%, 32%)
HSVhsv(234, 77%, 52%)
CMYKcmyk(77.4%, 69.2%, 0%, 47.8%)
CIE-LABlab(22.14, 29.70, -52.62)
CIE-LCHlch(22.14, 60.42, 299.44°)
OKLaboklab(34.08% 0.0009 -0.1522)
OKLCHoklch(34.08% 0.152 270.4)
XYZxyz(5.5606, 3.5548, 22.5788)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2985 #857A1E
analogous
#1E5D85 #1E2985 #471E85
triadic
#1E2985 #851E29 #29851E
tetradic
#1E2985 #851E5D #857A1E #1E8547
square
#1E2985 #851E5D #857A1E #1E8547
split-complementary
#1E2985 #85471E #5D851E
monochromatic
#070A21 #131A53 #1E2985 #2938B7 #4857D6

Accessibility & contrast

On white

12.27
#1E2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2985
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2985#FFFFFF#000000##FFFFFF
##1E29851.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2985;
/* rgb */ color: rgb(30, 41, 133);
/* oklch */ color: oklch(34.1% 0.152 270.4);
Tailwind
colors: {
  custom: {
    50: '#6c63a9',
    500: '#1e2985',
    950: '#000000',
  },
}
SCSS
$custom: #1e2985;
$custom-light: #6c63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2985",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 233.592,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34081,
    "c": 0.15224,
    "h": 270.4
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#1E2985
secondary
#B8AC47
accent
#D542E6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2985

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

Preview Lab → · Contrast checker → · Palette generator →

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