#1E407F#1E407F

#1E407F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.114 H 261.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#1E407F
RGBrgb(30, 64, 127)
HSLhsl(219, 62%, 31%)
HSVhsv(219, 76%, 50%)
CMYKcmyk(76.4%, 49.6%, 0%, 50.2%)
CIE-LABlab(28.05, 11.40, -39.25)
CIE-LCHlch(28.05, 40.88, 286.20°)
OKLaboklab(38.35% -0.017 -0.1127)
OKLCHoklch(38.35% 0.114 261.4)
XYZxyz(6.1982, 5.4744, 20.8046)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E407F #7F5D1E
analogous
#1E707F #1E407F #2C1E7F
triadic
#1E407F #7F1E40 #407F1E
tetradic
#1E407F #7F1E70 #7F5D1E #1E7F2C
square
#1E407F #7F1E70 #7F5D1E #1E7F2C
split-complementary
#1E407F #7F2C1E #707F1E
monochromatic
#070E1C #12274D #1E407F #2A59B1 #4476D3

Accessibility & contrast

On white

10.02
#1E407F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1E407F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E407F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E407F#FFFFFF#000000##FFFFFF
##1E407F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4781
Deuteranopia (green-blind)
#023E7E
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1e407f;
/* rgb */ color: rgb(30, 64, 127);
/* oklch */ color: oklch(38.3% 0.114 261.4);
Tailwind
colors: {
  custom: {
    50: '#6874a4',
    500: '#1e407f',
    950: '#000000',
  },
}
SCSS
$custom: #1e407f;
$custom-light: #6874a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e407f",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 218.969,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.11394,
    "h": 261.4
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#1E407F
secondary
#B28C47
accent
#AC43E5
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E407F

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

Preview Lab → · Contrast checker → · Palette generator →

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