#1E407A#1E407A

#1E407A is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.107 H 260.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#1E407A
RGBrgb(30, 64, 122)
HSLhsl(218, 61%, 30%)
HSVhsv(218, 75%, 48%)
CMYKcmyk(75.4%, 47.5%, 0%, 52.2%)
CIE-LABlab(27.70, 9.38, -36.67)
CIE-LCHlch(27.70, 37.85, 284.35°)
OKLaboklab(37.97% -0.0179 -0.1051)
OKLCHoklch(37.97% 0.107 260.4)
XYZxyz(5.8804, 5.3473, 19.1308)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E407A #7A581E
analogous
#1E6E7A #1E407A #2A1E7A
triadic
#1E407A #7A1E40 #407A1E
tetradic
#1E407A #7A1E6E #7A581E #1E7A2A
square
#1E407A #7A1E6E #7A581E #1E7A2A
split-complementary
#1E407A #7A2A1E #6E7A1E
monochromatic
#060D19 #122649 #1E407A #2A5AAB #4277D0

Accessibility & contrast

On white

10.15
#1E407A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1E407A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E407A
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E407A#FFFFFF#000000##FFFFFF
##1E407A1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467C
Deuteranopia (green-blind)
#0E3D79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e407a;
/* rgb */ color: rgb(30, 64, 122);
/* oklch */ color: oklch(38.0% 0.107 260.4);
Tailwind
colors: {
  custom: {
    50: '#6774a1',
    500: '#1e407a',
    950: '#000000',
  },
}
SCSS
$custom: #1e407a;
$custom-light: #6774a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e407a",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 217.826,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37972,
    "c": 0.10658,
    "h": 260.4
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#1E407A
secondary
#AE8746
accent
#A944E4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #1E407A

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

Preview Lab → · Contrast checker → · Palette generator →

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