#1E2E87#1E2E87

#1E2E87 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.149 H 269.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#1E2E87
RGBrgb(30, 46, 135)
HSLhsl(231, 64%, 32%)
HSVhsv(231, 78%, 53%)
CMYKcmyk(77.8%, 65.9%, 0%, 47.1%)
CIE-LABlab(23.60, 27.10, -51.48)
CIE-LCHlch(23.60, 58.18, 297.77°)
OKLaboklab(35.21% -0.0023 -0.1489)
OKLCHoklch(35.21% 0.149 269.1)
XYZxyz(5.8841, 3.9786, 23.3748)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E87 #87771E
analogous
#1E6387 #1E2E87 #421E87
triadic
#1E2E87 #871E2E #2E871E
tetradic
#1E2E87 #871E63 #87771E #1E8742
square
#1E2E87 #871E63 #87771E #1E8742
split-complementary
#1E2E87 #87421E #63871E
monochromatic
#080C23 #131D55 #1E2E87 #293FB9 #495ED7

Accessibility & contrast

On white

11.69
#1E2E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1E2E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E87
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E87#FFFFFF#000000##FFFFFF
##1E2E871.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2e87;
/* rgb */ color: rgb(30, 46, 135);
/* oklch */ color: oklch(35.2% 0.149 269.1);
Tailwind
colors: {
  custom: {
    50: '#6c66ab',
    500: '#1e2e87',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e87;
$custom-light: #6c66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e87",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 230.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35207,
    "c": 0.14889,
    "h": 269.1
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#1E2E87
secondary
#B9A848
accent
#CD41E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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