#1E2168#1E2168

#1E2168 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.122 H 274.3°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#1E2168
RGBrgb(30, 33, 104)
HSLhsl(238, 55%, 26%)
HSVhsv(238, 71%, 41%)
CMYKcmyk(71.2%, 68.3%, 0%, 59.2%)
CIE-LABlab(17.29, 24.08, -42.00)
CIE-LCHlch(17.29, 48.41, 299.83°)
OKLaboklab(29.68% 0.0092 -0.1212)
OKLCHoklch(29.68% 0.122 274.3)
XYZxyz(3.5771, 2.3629, 13.3616)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2168 #68651E
analogous
#1E4668 #1E2168 #401E68
triadic
#1E2168 #681E21 #21681E
tetradic
#1E2168 #681E46 #68651E #1E6840
square
#1E2168 #681E46 #68651E #1E6840
split-complementary
#1E2168 #68401E #46681E
monochromatic
#070818 #101239 #1E2168 #2C3098 #3A40C6

Accessibility & contrast

On white

14.26
#1E2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2168
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2168#FFFFFF#000000##FFFFFF
##1E21681.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2168;
/* rgb */ color: rgb(30, 33, 104);
/* oklch */ color: oklch(29.7% 0.122 274.3);
Tailwind
colors: {
  custom: {
    50: '#655c94',
    500: '#1e2168',
    950: '#000000',
  },
}
SCSS
$custom: #1e2168;
$custom-light: #655c94;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2168",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 237.568,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29678,
    "c": 0.12154,
    "h": 274.3
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#1E2168
secondary
#9D9945
accent
#D849DF
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1E2168

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

Preview Lab → · Contrast checker → · Palette generator →

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