#1E3074#1E3074

#1E3074 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.119 H 268.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#1E3074
RGBrgb(30, 48, 116)
HSLhsl(227, 59%, 29%)
HSVhsv(227, 74%, 45%)
CMYKcmyk(74.1%, 58.6%, 0%, 54.5%)
CIE-LABlab(22.48, 18.23, -41.29)
CIE-LCHlch(22.48, 45.14, 293.82°)
OKLaboklab(33.86% -0.0038 -0.119)
OKLCHoklch(33.86% 0.119 268.2)
XYZxyz(4.7437, 3.6504, 16.9742)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3074 #74621E
analogous
#1E5B74 #1E3074 #371E74
triadic
#1E3074 #741E30 #30741E
tetradic
#1E3074 #741E5B #74621E #1E7437
square
#1E3074 #741E5B #74621E #1E7437
split-complementary
#1E3074 #74371E #5B741E
monochromatic
#060A18 #111C43 #1E3074 #2B44A5 #3F5DCD

Accessibility & contrast

On white

12.14
#1E3074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E3074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3074
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3074#FFFFFF#000000##FFFFFF
##1E30741.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e3074;
/* rgb */ color: rgb(30, 48, 116);
/* oklch */ color: oklch(33.9% 0.119 268.2);
Tailwind
colors: {
  custom: {
    50: '#67679d',
    500: '#1e3074',
    950: '#000000',
  },
}
SCSS
$custom: #1e3074;
$custom-light: #67679d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3074",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 227.442,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33857,
    "c": 0.11902,
    "h": 268.2
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#1E3074
secondary
#A89346
accent
#C146E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1E3074

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

Preview Lab → · Contrast checker → · Palette generator →

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