#1E2374#1E2374

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

Color values

HEX#1E2374
RGBrgb(30, 35, 116)
HSLhsl(237, 59%, 29%)
HSVhsv(237, 74%, 45%)
CMYKcmyk(74.1%, 69.8%, 0%, 54.5%)
CIE-LABlab(18.97, 27.28, -47.03)
CIE-LCHlch(18.97, 54.37, 300.12°)
OKLaboklab(31.26% 0.0065 -0.1359)
OKLCHoklch(31.26% 0.136 272.7)
XYZxyz(4.2878, 2.7386, 16.8222)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2374 #746F1E
analogous
#1E4E74 #1E2374 #441E74
triadic
#1E2374 #741E23 #23741E
tetradic
#1E2374 #741E4E #746F1E #1E7444
square
#1E2374 #741E4E #746F1E #1E7444
split-complementary
#1E2374 #74441E #4E741E
monochromatic
#060718 #111443 #1E2374 #2B32A5 #3F47CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E2374#FFFFFF#000000##FFFFFF
##1E23741.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)
#003277
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e2374;
/* rgb */ color: rgb(30, 35, 116);
/* oklch */ color: oklch(31.3% 0.136 272.7);
Tailwind
colors: {
  custom: {
    50: '#685e9d',
    500: '#1e2374',
    950: '#000000',
  },
}
SCSS
$custom: #1e2374;
$custom-light: #685e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2374",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 236.512,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31259,
    "c": 0.13608,
    "h": 272.7
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#1E2374
secondary
#A8A246
accent
#D946E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2374

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

Preview Lab → · Contrast checker → · Palette generator →

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