#1E2574#1E2574

#1E2574 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.134 H 272.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#1E2574
RGBrgb(30, 37, 116)
HSLhsl(235, 59%, 29%)
HSVhsv(235, 74%, 45%)
CMYKcmyk(74.1%, 68.1%, 0%, 54.5%)
CIE-LABlab(19.47, 25.92, -46.20)
CIE-LCHlch(19.47, 52.98, 299.30°)
OKLaboklab(31.63% 0.0051 -0.1335)
OKLCHoklch(31.63% 0.134 272.2)
XYZxyz(4.3483, 2.8597, 16.8424)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2574 #746D1E
analogous
#1E5074 #1E2574 #421E74
triadic
#1E2574 #741E25 #25741E
tetradic
#1E2574 #741E50 #746D1E #1E7442
square
#1E2574 #741E50 #746D1E #1E7442
split-complementary
#1E2574 #74421E #50741E
monochromatic
#060818 #111543 #1E2574 #2B35A5 #3F4BCD

Accessibility & contrast

On white

13.36
#1E2574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E2574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2574
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2574#FFFFFF#000000##FFFFFF
##1E25741.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e2574;
/* rgb */ color: rgb(30, 37, 116);
/* oklch */ color: oklch(31.6% 0.134 272.2);
Tailwind
colors: {
  custom: {
    50: '#685f9d',
    500: '#1e2574',
    950: '#000000',
  },
}
SCSS
$custom: #1e2574;
$custom-light: #685f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2574",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 235.116,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31629,
    "c": 0.13359,
    "h": 272.2
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#1E2574
secondary
#A8A046
accent
#D546E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2574

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

Preview Lab → · Contrast checker → · Palette generator →

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