#1E427F#1E427F

#1E427F is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.111 H 260.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1E427F
RGBrgb(30, 66, 127)
HSLhsl(218, 62%, 31%)
HSVhsv(218, 76%, 50%)
CMYKcmyk(76.4%, 48%, 0%, 50.2%)
CIE-LABlab(28.65, 10.02, -38.28)
CIE-LCHlch(28.65, 39.57, 284.67°)
OKLaboklab(38.81% -0.0188 -0.1098)
OKLCHoklch(38.81% 0.111 260.3)
XYZxyz(6.3130, 5.7041, 20.8428)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E427F #7F5B1E
analogous
#1E727F #1E427F #2A1E7F
triadic
#1E427F #7F1E42 #427F1E
tetradic
#1E427F #7F1E72 #7F5B1E #1E7F2A
square
#1E427F #7F1E72 #7F5B1E #1E7F2A
split-complementary
#1E427F #7F2A1E #727F1E
monochromatic
#070F1C #12284D #1E427F #2A5CB1 #4479D3

Accessibility & contrast

On white

9.81
#1E427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1E427F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E427F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E427F#FFFFFF#000000##FFFFFF
##1E427F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224881
Deuteranopia (green-blind)
#0B3F7E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e427f;
/* rgb */ color: rgb(30, 66, 127);
/* oklch */ color: oklch(38.8% 0.111 260.3);
Tailwind
colors: {
  custom: {
    50: '#6875a4',
    500: '#1e427f',
    950: '#000000',
  },
}
SCSS
$custom: #1e427f;
$custom-light: #6875a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e427f",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 217.732,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38813,
    "c": 0.11136,
    "h": 260.3
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#1E427F
secondary
#B28A47
accent
#A943E5
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E427F

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

Preview Lab → · Contrast checker → · Palette generator →

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