#1E407E#1E407E

#1E407E is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.112 H 261.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#1E407E
RGBrgb(30, 64, 126)
HSLhsl(219, 62%, 31%)
HSVhsv(219, 76%, 49%)
CMYKcmyk(76.2%, 49.2%, 0%, 50.6%)
CIE-LABlab(27.98, 11.00, -38.74)
CIE-LCHlch(27.98, 40.27, 285.85°)
OKLaboklab(38.27% -0.0171 -0.1112)
OKLCHoklch(38.27% 0.112 261.2)
XYZxyz(6.1334, 5.4485, 20.4630)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E407E #7E5C1E
analogous
#1E707E #1E407E #2C1E7E
triadic
#1E407E #7E1E40 #407E1E
tetradic
#1E407E #7E1E70 #7E5C1E #1E7E2C
square
#1E407E #7E1E70 #7E5C1E #1E7E2C
split-complementary
#1E407E #7E2C1E #707E1E
monochromatic
#060E1B #12274D #1E407E #2A59AF #4476D2

Accessibility & contrast

On white

10.05
#1E407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1E407E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E407E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E407E#FFFFFF#000000##FFFFFF
##1E407E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4780
Deuteranopia (green-blind)
#043E7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1e407e;
/* rgb */ color: rgb(30, 64, 126);
/* oklch */ color: oklch(38.3% 0.112 261.2);
Tailwind
colors: {
  custom: {
    50: '#6874a4',
    500: '#1e407e',
    950: '#000000',
  },
}
SCSS
$custom: #1e407e;
$custom-light: #6874a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e407e",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 218.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3827,
    "c": 0.11248,
    "h": 261.2
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#1E407E
secondary
#B18B47
accent
#AB43E5
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E407E

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

Preview Lab → · Contrast checker → · Palette generator →

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