#1E3F9D#1E3F9D

#1E3F9D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.158 H 265.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#1E3F9D
RGBrgb(30, 63, 157)
HSLhsl(224, 68%, 37%)
HSVhsv(224, 81%, 62%)
CMYKcmyk(80.9%, 59.9%, 0%, 38.4%)
CIE-LABlab(30.07, 24.11, -54.45)
CIE-LCHlch(30.07, 59.55, 293.88°)
OKLaboklab(40.61% -0.0134 -0.1574)
OKLCHoklch(40.61% 0.158 265.1)
XYZxyz(8.3966, 6.2644, 32.6584)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3F9D #9D7C1E
analogous
#1E7F9D #1E3F9D #3C1E9D
triadic
#1E3F9D #9D1E3F #3F9D1E
tetradic
#1E3F9D #9D1E7F #9D7C1E #1E9D3C
square
#1E3F9D #9D1E7F #9D7C1E #1E9D3C
split-complementary
#1E3F9D #9D3C1E #7F9D1E
monochromatic
#0A1636 #142A6A #1E3F9D #2854D0 #577ADF

Accessibility & contrast

On white

9.32
#1E3F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1E3F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3F9D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3F9D#FFFFFF#000000##FFFFFF
##1E3F9D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e3f9d;
/* rgb */ color: rgb(30, 63, 157);
/* oklch */ color: oklch(40.6% 0.158 265.1);
Tailwind
colors: {
  custom: {
    50: '#7073bb',
    500: '#1e3f9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e3f9d;
$custom-light: #7073bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3f9d",
  "rgb": {
    "r": 30,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 224.409,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40608,
    "c": 0.15793,
    "h": 265.1
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#1E3F9D
secondary
#C2A654
accent
#BE3DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1E3F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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