#1E2297#1E2297

#1E2297 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.183 H 270.5°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1E2297
RGBrgb(30, 34, 151)
HSLhsl(238, 67%, 35%)
HSVhsv(238, 80%, 59%)
CMYKcmyk(80.1%, 77.5%, 0%, 40.8%)
CIE-LABlab(22.49, 40.54, -63.23)
CIE-LCHlch(22.49, 75.11, 302.67°)
OKLaboklab(34.91% 0.0017 -0.1831)
OKLCHoklch(34.91% 0.183 270.5)
XYZxyz(6.6915, 3.6537, 29.6247)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2297 #97931E
analogous
#1E5E97 #1E2297 #571E97
triadic
#1E2297 #971E22 #22971E
tetradic
#1E2297 #971E5E #97931E #1E9757
square
#1E2297 #971E5E #97931E #1E9757
split-complementary
#1E2297 #97571E #5E971E
monochromatic
#0A0B31 #141764 #1E2297 #282DCA #5357DD

Accessibility & contrast

On white

12.13
#1E2297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E2297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2297
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2297#FFFFFF#000000##FFFFFF
##1E22971.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003095
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2297;
/* rgb */ color: rgb(30, 34, 151);
/* oklch */ color: oklch(34.9% 0.183 270.5);
Tailwind
colors: {
  custom: {
    50: '#715fb7',
    500: '#1e2297',
    950: '#000000',
  },
}
SCSS
$custom: #1e2297;
$custom-light: #715fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2297",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 238.017,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34905,
    "c": 0.18313,
    "h": 270.5
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#1E2297
secondary
#C0BC51
accent
#E43EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2297

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

Preview Lab → · Contrast checker → · Palette generator →

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