#1E279D#1E279D

#1E279D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.186 H 269.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#1E279D
RGBrgb(30, 39, 157)
HSLhsl(236, 68%, 37%)
HSVhsv(236, 81%, 62%)
CMYKcmyk(80.9%, 75.2%, 0%, 38.4%)
CIE-LABlab(24.20, 39.71, -64.09)
CIE-LCHlch(24.20, 75.40, 301.78°)
OKLaboklab(36.31% -0.0011 -0.1857)
OKLCHoklch(36.31% 0.186 269.7)
XYZxyz(7.3447, 4.1605, 32.3077)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E279D #9D941E
analogous
#1E679D #1E279D #551E9D
triadic
#1E279D #9D1E27 #279D1E
tetradic
#1E279D #9D1E67 #9D941E #1E9D55
square
#1E279D #9D1E67 #9D941E #1E9D55
split-complementary
#1E279D #9D551E #679D1E
monochromatic
#0A0D36 #141A6A #1E279D #2834D0 #5760DF

Accessibility & contrast

On white

11.46
#1E279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1E279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E279D
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E279D#FFFFFF#000000##FFFFFF
##1E279D1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e279d;
/* rgb */ color: rgb(30, 39, 157);
/* oklch */ color: oklch(36.3% 0.186 269.7);
Tailwind
colors: {
  custom: {
    50: '#7262bb',
    500: '#1e279d',
    950: '#000000',
  },
}
SCSS
$custom: #1e279d;
$custom-light: #7262bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e279d",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 235.748,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36312,
    "c": 0.18567,
    "h": 269.7
  },
  "luminance": 0.04161
}

Semantic roles & 50–950 ramp

primary
#1E279D
secondary
#C2BB54
accent
#DE3DEB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1E279D

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

Preview Lab → · Contrast checker → · Palette generator →

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