#1E4074#1E4074

#1E4074 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.098 H 258.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#1E4074
RGBrgb(30, 64, 116)
HSLhsl(216, 59%, 29%)
HSVhsv(216, 74%, 45%)
CMYKcmyk(74.1%, 44.8%, 0%, 54.5%)
CIE-LABlab(27.31, 6.97, -33.52)
CIE-LCHlch(27.31, 34.23, 281.74°)
OKLaboklab(37.54% -0.0191 -0.0958)
OKLCHoklch(37.54% 0.098 258.7)
XYZxyz(5.5201, 5.2032, 17.2330)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4074 #74521E
analogous
#1E6B74 #1E4074 #271E74
triadic
#1E4074 #741E40 #40741E
tetradic
#1E4074 #741E6B #74521E #1E7427
square
#1E4074 #741E6B #74521E #1E7427
split-complementary
#1E4074 #74271E #6B741E
monochromatic
#060D18 #112543 #1E4074 #2B5BA5 #3F77CD

Accessibility & contrast

On white

10.29
#1E4074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1E4074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4074
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4074#FFFFFF#000000##FFFFFF
##1E40741.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274576
Deuteranopia (green-blind)
#183D73
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e4074;
/* rgb */ color: rgb(30, 64, 116);
/* oklch */ color: oklch(37.5% 0.098 258.7);
Tailwind
colors: {
  custom: {
    50: '#66749c',
    500: '#1e4074',
    950: '#000000',
  },
}
SCSS
$custom: #1e4074;
$custom-light: #66749c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4074",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 216.279,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37538,
    "c": 0.09769,
    "h": 258.7
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

primary
#1E4074
secondary
#A88146
accent
#A446E2
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1E4074

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

Preview Lab → · Contrast checker → · Palette generator →

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