#1E278D#1E278D

#1E278D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.165 H 270.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#1E278D
RGBrgb(30, 39, 141)
HSLhsl(235, 65%, 34%)
HSVhsv(235, 79%, 55%)
CMYKcmyk(78.7%, 72.3%, 0%, 44.7%)
CIE-LABlab(22.48, 33.97, -57.07)
CIE-LCHlch(22.48, 66.41, 300.77°)
OKLaboklab(34.57% 0.0012 -0.1652)
OKLCHoklch(34.57% 0.165 270.4)
XYZxyz(6.0670, 3.6495, 25.5788)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E278D #8D841E
analogous
#1E5E8D #1E278D #4C1E8D
triadic
#1E278D #8D1E27 #278D1E
tetradic
#1E278D #8D1E5E #8D841E #1E8D4C
square
#1E278D #8D1E5E #8D841E #1E8D4C
split-complementary
#1E278D #8D4C1E #5E8D1E
monochromatic
#090B28 #13195B #1E278D #2935BF #4C58D9

Accessibility & contrast

On white

12.14
#1E278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E278D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E278D#FFFFFF#000000##FFFFFF
##1E278D1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e278d;
/* rgb */ color: rgb(30, 39, 141);
/* oklch */ color: oklch(34.6% 0.165 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e62af',
    500: '#1e278d',
    950: '#000000',
  },
}
SCSS
$custom: #1e278d;
$custom-light: #6e62af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e278d",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 235.135,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3457,
    "c": 0.16522,
    "h": 270.4
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#1E278D
secondary
#BCB24B
accent
#DA40E8
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1E278D

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

Preview Lab → · Contrast checker → · Palette generator →

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