#1E407D#1E407D

#1E407D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.111 H 261.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#1E407D
RGBrgb(30, 64, 125)
HSLhsl(219, 61%, 30%)
HSVhsv(219, 76%, 49%)
CMYKcmyk(76%, 48.8%, 0%, 51%)
CIE-LABlab(27.91, 10.59, -38.22)
CIE-LCHlch(27.91, 39.67, 285.49°)
OKLaboklab(38.2% -0.0173 -0.1096)
OKLCHoklch(38.2% 0.111 261)
XYZxyz(6.0692, 5.4228, 20.1249)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E407D #7D5B1E
analogous
#1E6F7D #1E407D #2B1E7D
triadic
#1E407D #7D1E40 #407D1E
tetradic
#1E407D #7D1E6F #7D5B1E #1E7D2B
square
#1E407D #7D1E6F #7D5B1E #1E7D2B
split-complementary
#1E407D #7D2B1E #6F7D1E
monochromatic
#060D1A #12274C #1E407D #2A59AE #4376D2

Accessibility & contrast

On white

10.07
#1E407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1E407D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E407D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E407D#FFFFFF#000000##FFFFFF
##1E407D1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F477F
Deuteranopia (green-blind)
#073E7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1e407d;
/* rgb */ color: rgb(30, 64, 125);
/* oklch */ color: oklch(38.2% 0.111 261.0);
Tailwind
colors: {
  custom: {
    50: '#6874a3',
    500: '#1e407d',
    950: '#000000',
  },
}
SCSS
$custom: #1e407d;
$custom-light: #6874a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e407d",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 218.526,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38195,
    "c": 0.111,
    "h": 261
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#1E407D
secondary
#B08A46
accent
#AB43E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E407D

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

Preview Lab → · Contrast checker → · Palette generator →

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