#1E207A#1E207A

#1E207A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.148 H 273.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#1E207A
RGBrgb(30, 32, 122)
HSLhsl(239, 61%, 30%)
HSVhsv(239, 75%, 48%)
CMYKcmyk(75.4%, 73.8%, 0%, 52.2%)
CIE-LABlab(18.86, 31.48, -51.05)
CIE-LCHlch(18.86, 59.98, 301.66°)
OKLaboklab(31.37% 0.0076 -0.1477)
OKLCHoklch(31.37% 0.148 273)
XYZxyz(4.5636, 2.7137, 18.6919)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E207A #7A781E
analogous
#1E4E7A #1E207A #4A1E7A
triadic
#1E207A #7A1E20 #207A1E
tetradic
#1E207A #7A1E4E #7A781E #1E7A4A
square
#1E207A #7A1E4E #7A781E #1E7A4A
split-complementary
#1E207A #7A4A1E #4E7A1E
monochromatic
#060619 #121349 #1E207A #2A2DAB #4245D0

Accessibility & contrast

On white

13.61
#1E207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E207A
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E207A#FFFFFF#000000##FFFFFF
##1E207A1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e207a;
/* rgb */ color: rgb(30, 32, 122);
/* oklch */ color: oklch(31.4% 0.148 273.0);
Tailwind
colors: {
  custom: {
    50: '#6a5ca1',
    500: '#1e207a',
    950: '#000000',
  },
}
SCSS
$custom: #1e207a;
$custom-light: #6a5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e207a",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 238.696,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31369,
    "c": 0.14788,
    "h": 273
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#1E207A
secondary
#AEAB46
accent
#E044E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E207A

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

Preview Lab → · Contrast checker → · Palette generator →

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