#1E207F#1E207F

#1E207F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.155 H 272.5°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#1E207F
RGBrgb(30, 32, 127)
HSLhsl(239, 62%, 31%)
HSVhsv(239, 76%, 50%)
CMYKcmyk(76.4%, 74.8%, 0%, 50.2%)
CIE-LABlab(19.39, 33.29, -53.35)
CIE-LCHlch(19.39, 62.89, 301.96°)
OKLaboklab(31.91% 0.0068 -0.1544)
OKLCHoklch(31.91% 0.155 272.5)
XYZxyz(4.8814, 2.8408, 20.3656)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E207F #7F7D1E
analogous
#1E507F #1E207F #4C1E7F
triadic
#1E207F #7F1E20 #207F1E
tetradic
#1E207F #7F1E50 #7F7D1E #1E7F4C
square
#1E207F #7F1E50 #7F7D1E #1E7F4C
split-complementary
#1E207F #7F4C1E #507F1E
monochromatic
#07071C #12144D #1E207F #2A2CB1 #4447D3

Accessibility & contrast

On white

13.39
#1E207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E207F
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E207F#FFFFFF#000000##FFFFFF
##1E207F1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e207f;
/* rgb */ color: rgb(30, 32, 127);
/* oklch */ color: oklch(31.9% 0.155 272.5);
Tailwind
colors: {
  custom: {
    50: '#6b5ca5',
    500: '#1e207f',
    950: '#000000',
  },
}
SCSS
$custom: #1e207f;
$custom-light: #6b5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e207f",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 238.763,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31913,
    "c": 0.15453,
    "h": 272.5
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#1E207F
secondary
#B2B047
accent
#E243E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E207F

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

Preview Lab → · Contrast checker → · Palette generator →

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