#1E417F#1E417F

#1E417F is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.113 H 260.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#1E417F
RGBrgb(30, 65, 127)
HSLhsl(218, 62%, 31%)
HSVhsv(218, 76%, 50%)
CMYKcmyk(76.4%, 48.8%, 0%, 50.2%)
CIE-LABlab(28.35, 10.71, -38.77)
CIE-LCHlch(28.35, 40.22, 285.44°)
OKLaboklab(38.58% -0.0179 -0.1112)
OKLCHoklch(38.58% 0.113 260.9)
XYZxyz(6.2551, 5.5882, 20.8235)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E417F #7F5C1E
analogous
#1E717F #1E417F #2C1E7F
triadic
#1E417F #7F1E41 #417F1E
tetradic
#1E417F #7F1E71 #7F5C1E #1E7F2C
square
#1E417F #7F1E71 #7F5C1E #1E7F2C
split-complementary
#1E417F #7F2C1E #717F1E
monochromatic
#070E1C #12284D #1E417F #2A5AB1 #4478D3

Accessibility & contrast

On white

9.92
#1E417F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1E417F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E417F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E417F#FFFFFF#000000##FFFFFF
##1E417F1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204881
Deuteranopia (green-blind)
#063F7E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e417f;
/* rgb */ color: rgb(30, 65, 127);
/* oklch */ color: oklch(38.6% 0.113 260.9);
Tailwind
colors: {
  custom: {
    50: '#6875a4',
    500: '#1e417f',
    950: '#000000',
  },
}
SCSS
$custom: #1e417f;
$custom-light: #6875a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e417f",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 218.351,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38579,
    "c": 0.11264,
    "h": 260.9
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#1E417F
secondary
#B28B47
accent
#AA43E5
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E417F

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

Preview Lab → · Contrast checker → · Palette generator →

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