#1E207B#1E207B

#1E207B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.149 H 272.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1E207B
RGBrgb(30, 32, 123)
HSLhsl(239, 61%, 30%)
HSVhsv(239, 76%, 48%)
CMYKcmyk(75.6%, 74%, 0%, 51.8%)
CIE-LABlab(18.97, 31.84, -51.52)
CIE-LCHlch(18.97, 60.56, 301.72°)
OKLaboklab(31.48% 0.0075 -0.149)
OKLCHoklch(31.48% 0.149 272.9)
XYZxyz(4.6259, 2.7386, 19.0199)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E207B #7B791E
analogous
#1E4E7B #1E207B #4B1E7B
triadic
#1E207B #7B1E20 #207B1E
tetradic
#1E207B #7B1E4E #7B791E #1E7B4B
square
#1E207B #7B1E4E #7B791E #1E7B4B
split-complementary
#1E207B #7B4B1E #4E7B1E
monochromatic
#060619 #12134A #1E207B #2A2DAC #4245D1

Accessibility & contrast

On white

13.57
#1E207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E207B
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E207B#FFFFFF#000000##FFFFFF
##1E207B1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e207b;
/* rgb */ color: rgb(30, 32, 123);
/* oklch */ color: oklch(31.5% 0.149 272.9);
Tailwind
colors: {
  custom: {
    50: '#6a5ca2',
    500: '#1e207b',
    950: '#000000',
  },
}
SCSS
$custom: #1e207b;
$custom-light: #6a5ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e207b",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 238.71,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.31477,
    "c": 0.14922,
    "h": 272.9
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#1E207B
secondary
#AEAC46
accent
#E044E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E207B

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

Preview Lab → · Contrast checker → · Palette generator →

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