#1E2697#1E2697

#1E2697 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.179 H 270.1°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1E2697
RGBrgb(30, 38, 151)
HSLhsl(236, 67%, 35%)
HSVhsv(236, 80%, 59%)
CMYKcmyk(80.1%, 74.8%, 0%, 40.8%)
CIE-LABlab(23.32, 38.20, -61.86)
CIE-LCHlch(23.32, 72.70, 301.69°)
OKLaboklab(35.5% 0.0002 -0.1792)
OKLCHoklch(35.5% 0.179 270.1)
XYZxyz(6.8125, 3.8958, 29.6651)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2697 #978F1E
analogous
#1E6297 #1E2697 #521E97
triadic
#1E2697 #971E26 #26971E
tetradic
#1E2697 #971E62 #978F1E #1E9752
square
#1E2697 #971E62 #978F1E #1E9752
split-complementary
#1E2697 #97521E #62971E
monochromatic
#0A0C31 #141964 #1E2697 #2833CA #535CDD

Accessibility & contrast

On white

11.80
#1E2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1E2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2697
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2697#FFFFFF#000000##FFFFFF
##1E26971.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003295
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2697;
/* rgb */ color: rgb(30, 38, 151);
/* oklch */ color: oklch(35.5% 0.179 270.1);
Tailwind
colors: {
  custom: {
    50: '#7161b7',
    500: '#1e2697',
    950: '#000000',
  },
}
SCSS
$custom: #1e2697;
$custom-light: #7161b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2697",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 236.033,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35496,
    "c": 0.17916,
    "h": 270.1
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

primary
#1E2697
secondary
#C0B951
accent
#DE3EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2697

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

Preview Lab → · Contrast checker → · Palette generator →

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