#1E2162#1E2162

#1E2162 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.1% C 0.113 H 274.9°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#1E2162
RGBrgb(30, 33, 98)
HSLhsl(237, 53%, 25%)
HSVhsv(237, 69%, 38%)
CMYKcmyk(69.4%, 66.3%, 0%, 61.6%)
CIE-LABlab(16.73, 21.78, -38.97)
CIE-LCHlch(16.73, 44.64, 299.20°)
OKLaboklab(29.09% 0.0096 -0.1123)
OKLCHoklch(29.09% 0.113 274.9)
XYZxyz(3.2832, 2.2453, 11.8133)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2162 #625F1E
analogous
#1E4362 #1E2162 #3D1E62
triadic
#1E2162 #621E21 #21621E
tetradic
#1E2162 #621E43 #625F1E #1E623D
square
#1E2162 #621E43 #625F1E #1E623D
split-complementary
#1E2162 #623D1E #43621E
monochromatic
#070817 #101133 #1E2162 #2C3191 #3B41C0

Accessibility & contrast

On white

14.49
#1E2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E2162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2162
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2162#FFFFFF#000000##FFFFFF
##1E21621.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e2162;
/* rgb */ color: rgb(30, 33, 98);
/* oklch */ color: oklch(29.1% 0.113 274.9);
Tailwind
colors: {
  custom: {
    50: '#635c8f',
    500: '#1e2162',
    950: '#000000',
  },
}
SCSS
$custom: #1e2162;
$custom-light: #635c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2162",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 237.353,
    "s": 53.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29093,
    "c": 0.11272,
    "h": 274.9
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#1E2162
secondary
#979345
accent
#D64BDD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E2162

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

Preview Lab → · Contrast checker → · Palette generator →

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