#1E3072#1E3072

#1E3072 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.116 H 268.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#1E3072
RGBrgb(30, 48, 114)
HSLhsl(227, 58%, 28%)
HSVhsv(227, 74%, 45%)
CMYKcmyk(73.7%, 57.9%, 0%, 55.3%)
CIE-LABlab(22.32, 17.43, -40.28)
CIE-LCHlch(22.32, 43.89, 293.39°)
OKLaboklab(33.68% -0.004 -0.116)
OKLCHoklch(33.68% 0.116 268)
XYZxyz(4.6286, 3.6044, 16.3681)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3072 #72601E
analogous
#1E5A72 #1E3072 #361E72
triadic
#1E3072 #721E30 #30721E
tetradic
#1E3072 #721E5A #72601E #1E7236
square
#1E3072 #721E5A #72601E #1E7236
split-complementary
#1E3072 #72361E #5A721E
monochromatic
#060A18 #111C42 #1E3072 #2B44A2 #3E5DCC

Accessibility & contrast

On white

12.20
#1E3072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E3072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3072
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3072#FFFFFF#000000##FFFFFF
##1E30721.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e3072;
/* rgb */ color: rgb(30, 48, 114);
/* oklch */ color: oklch(33.7% 0.116 268.0);
Tailwind
colors: {
  custom: {
    50: '#66679b',
    500: '#1e3072',
    950: '#000000',
  },
}
SCSS
$custom: #1e3072;
$custom-light: #66679b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3072",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 227.143,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33684,
    "c": 0.11604,
    "h": 268
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#1E3072
secondary
#A69146
accent
#C046E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E3072

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

Preview Lab → · Contrast checker → · Palette generator →

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