#1E427E#1E427E

#1E427E is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.110 H 260.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#1E427E
RGBrgb(30, 66, 126)
HSLhsl(218, 62%, 31%)
HSVhsv(218, 76%, 49%)
CMYKcmyk(76.2%, 47.6%, 0%, 50.6%)
CIE-LABlab(28.59, 9.62, -37.76)
CIE-LCHlch(28.59, 38.97, 284.29°)
OKLaboklab(38.74% -0.019 -0.1082)
OKLCHoklch(38.74% 0.11 260)
XYZxyz(6.2482, 5.6781, 20.5013)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E427E #7E5A1E
analogous
#1E727E #1E427E #2A1E7E
triadic
#1E427E #7E1E42 #427E1E
tetradic
#1E427E #7E1E72 #7E5A1E #1E7E2A
square
#1E427E #7E1E72 #7E5A1E #1E7E2A
split-complementary
#1E427E #7E2A1E #727E1E
monochromatic
#060E1B #12284D #1E427E #2A5CAF #4479D2

Accessibility & contrast

On white

9.83
#1E427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E427E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E427E#FFFFFF#000000##FFFFFF
##1E427E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#0D3F7D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e427e;
/* rgb */ color: rgb(30, 66, 126);
/* oklch */ color: oklch(38.7% 0.110 260.0);
Tailwind
colors: {
  custom: {
    50: '#6875a4',
    500: '#1e427e',
    950: '#000000',
  },
}
SCSS
$custom: #1e427e;
$custom-light: #6875a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e427e",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 217.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38739,
    "c": 0.1099,
    "h": 260
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#1E427E
secondary
#B18947
accent
#A843E5
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E427E

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

Preview Lab → · Contrast checker → · Palette generator →

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