#1E2E9D#1E2E9D

#1E2E9D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.178 H 268.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#1E2E9D
RGBrgb(30, 46, 157)
HSLhsl(232, 68%, 37%)
HSVhsv(232, 81%, 62%)
CMYKcmyk(80.9%, 70.7%, 0%, 38.4%)
CIE-LABlab(25.75, 35.40, -61.52)
CIE-LCHlch(25.75, 70.98, 299.91°)
OKLaboklab(37.43% -0.004 -0.1782)
OKLCHoklch(37.43% 0.178 268.7)
XYZxyz(7.5961, 4.6635, 32.3915)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E9D #9D8D1E
analogous
#1E6E9D #1E2E9D #4E1E9D
triadic
#1E2E9D #9D1E2E #2E9D1E
tetradic
#1E2E9D #9D1E6E #9D8D1E #1E9D4E
square
#1E2E9D #9D1E6E #9D8D1E #1E9D4E
split-complementary
#1E2E9D #9D4E1E #6E9D1E
monochromatic
#0A1036 #141F6A #1E2E9D #283DD0 #5768DF

Accessibility & contrast

On white

10.87
#1E2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1E2E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E9D
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E9D#FFFFFF#000000##FFFFFF
##1E2E9D1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e2e9d;
/* rgb */ color: rgb(30, 46, 157);
/* oklch */ color: oklch(37.4% 0.178 268.7);
Tailwind
colors: {
  custom: {
    50: '#7167bb',
    500: '#1e2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e9d;
$custom-light: #7167bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e9d",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 232.441,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3743,
    "c": 0.17825,
    "h": 268.7
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#1E2E9D
secondary
#C2B554
accent
#D53DEB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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