#1E1672#1E1672

#1E1672 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.148 H 275.7°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#1E1672
RGBrgb(30, 22, 114)
HSLhsl(245, 68%, 27%)
HSVhsv(245, 81%, 45%)
CMYKcmyk(73.7%, 80.7%, 0%, 55.3%)
CIE-LABlab(15.82, 34.68, -50.92)
CIE-LCHlch(15.82, 61.61, 304.26°)
OKLaboklab(28.95% 0.0148 -0.1472)
OKLCHoklch(28.95% 0.148 275.7)
XYZxyz(3.8586, 2.0644, 16.1114)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1672 #6A7216
analogous
#163C72 #1E1672 #4C1672
triadic
#1E1672 #721E16 #16721E
tetradic
#1E1672 #72163C #6A7216 #16724C
square
#1E1672 #72163C #6A7216 #16724C
split-complementary
#1E1672 #724C16 #3C7216
monochromatic
#07051A #110C3F #1E1672 #2B20A5 #3B2CD6

Accessibility & contrast

On white

14.86
#1E1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1E1672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1672
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1672#FFFFFF#000000##FFFFFF
##1E16721.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1672;
/* rgb */ color: rgb(30, 22, 114);
/* oklch */ color: oklch(28.9% 0.148 275.7);
Tailwind
colors: {
  custom: {
    50: '#69559c',
    500: '#1e1672',
    950: '#000000',
  },
}
SCSS
$custom: #1e1672;
$custom-light: #69559c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1672",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 245.217,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28949,
    "c": 0.14795,
    "h": 275.7
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#1E1672
secondary
#9EA83C
accent
#EB3DDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1672

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

Preview Lab → · Contrast checker → · Palette generator →

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