#1E2D85#1E2D85

#1E2D85 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.147 H 269.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#1E2D85
RGBrgb(30, 45, 133)
HSLhsl(231, 63%, 32%)
HSVhsv(231, 77%, 52%)
CMYKcmyk(77.4%, 66.2%, 0%, 47.8%)
CIE-LABlab(23.15, 27.01, -50.96)
CIE-LCHlch(23.15, 57.67, 297.93°)
OKLaboklab(34.82% -0.0016 -0.1474)
OKLCHoklch(34.82% 0.147 269.4)
XYZxyz(5.7060, 3.8456, 22.6273)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D85 #85761E
analogous
#1E6185 #1E2D85 #431E85
triadic
#1E2D85 #851E2D #2D851E
tetradic
#1E2D85 #851E61 #85761E #1E8543
square
#1E2D85 #851E61 #85761E #1E8543
split-complementary
#1E2D85 #85431E #61851E
monochromatic
#070B21 #131C53 #1E2D85 #293EB7 #485CD6

Accessibility & contrast

On white

11.87
#1E2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D85
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D85#FFFFFF#000000##FFFFFF
##1E2D851.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2d85;
/* rgb */ color: rgb(30, 45, 133);
/* oklch */ color: oklch(34.8% 0.147 269.4);
Tailwind
colors: {
  custom: {
    50: '#6b66a9',
    500: '#1e2d85',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d85;
$custom-light: #6b66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d85",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 231.262,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34822,
    "c": 0.14737,
    "h": 269.4
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#1E2D85
secondary
#B8A747
accent
#CE42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1E2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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