#1E278F#1E278F

#1E278F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.168 H 270.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#1E278F
RGBrgb(30, 39, 143)
HSLhsl(235, 65%, 34%)
HSVhsv(235, 79%, 56%)
CMYKcmyk(79%, 72.7%, 0%, 43.9%)
CIE-LABlab(22.69, 34.71, -57.96)
CIE-LCHlch(22.69, 67.56, 300.91°)
OKLaboklab(34.78% 0.0009 -0.1678)
OKLCHoklch(34.78% 0.168 270.3)
XYZxyz(6.2172, 3.7095, 26.3696)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E278F #8F861E
analogous
#1E608F #1E278F #4E1E8F
triadic
#1E278F #8F1E27 #278F1E
tetradic
#1E278F #8F1E60 #8F861E #1E8F4E
square
#1E278F #8F1E60 #8F861E #1E8F4E
split-complementary
#1E278F #8F4E1E #608F1E
monochromatic
#090B2A #13195C #1E278F #2935C2 #4E59DA

Accessibility & contrast

On white

12.06
#1E278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E278F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E278F#FFFFFF#000000##FFFFFF
##1E278F1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e278f;
/* rgb */ color: rgb(30, 39, 143);
/* oklch */ color: oklch(34.8% 0.168 270.3);
Tailwind
colors: {
  custom: {
    50: '#6e62b1',
    500: '#1e278f',
    950: '#000000',
  },
}
SCSS
$custom: #1e278f;
$custom-light: #6e62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e278f",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 235.221,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34784,
    "c": 0.16784,
    "h": 270.3
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#1E278F
secondary
#BCB44C
accent
#DB40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E278F

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

Preview Lab → · Contrast checker → · Palette generator →

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