#1E2974#1E2974

#1E2974 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.128 H 270.9°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#1E2974
RGBrgb(30, 41, 116)
HSLhsl(232, 59%, 29%)
HSVhsv(232, 74%, 45%)
CMYKcmyk(74.1%, 64.7%, 0%, 54.5%)
CIE-LABlab(20.53, 23.16, -44.47)
CIE-LCHlch(20.53, 50.15, 297.51°)
OKLaboklab(32.4% 0.002 -0.1284)
OKLCHoklch(32.4% 0.128 270.9)
XYZxyz(4.4797, 3.1224, 16.8862)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2974 #74691E
analogous
#1E5474 #1E2974 #3E1E74
triadic
#1E2974 #741E29 #29741E
tetradic
#1E2974 #741E54 #74691E #1E743E
square
#1E2974 #741E54 #74691E #1E743E
split-complementary
#1E2974 #743E1E #54741E
monochromatic
#060918 #111843 #1E2974 #2B3AA5 #3F51CD

Accessibility & contrast

On white

12.93
#1E2974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2974
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2974#FFFFFF#000000##FFFFFF
##1E29741.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2974;
/* rgb */ color: rgb(30, 41, 116);
/* oklch */ color: oklch(32.4% 0.128 270.9);
Tailwind
colors: {
  custom: {
    50: '#67629d',
    500: '#1e2974',
    950: '#000000',
  },
}
SCSS
$custom: #1e2974;
$custom-light: #67629d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2974",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 232.326,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32403,
    "c": 0.12842,
    "h": 270.9
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#1E2974
secondary
#A89B46
accent
#CE46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2974

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

Preview Lab → · Contrast checker → · Palette generator →

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