#1E278A#1E278A

#1E278A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.161 H 270.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#1E278A
RGBrgb(30, 39, 138)
HSLhsl(235, 64%, 33%)
HSVhsv(235, 78%, 54%)
CMYKcmyk(78.3%, 71.7%, 0%, 45.9%)
CIE-LABlab(22.16, 32.87, -55.71)
CIE-LCHlch(22.16, 64.69, 300.54°)
OKLaboklab(34.25% 0.0015 -0.1613)
OKLCHoklch(34.25% 0.161 270.5)
XYZxyz(5.8468, 3.5614, 24.4191)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E278A #8A811E
analogous
#1E5D8A #1E278A #4B1E8A
triadic
#1E278A #8A1E27 #278A1E
tetradic
#1E278A #8A1E5D #8A811E #1E8A4B
square
#1E278A #8A1E5D #8A811E #1E8A4B
split-complementary
#1E278A #8A4B1E #5D8A1E
monochromatic
#080B25 #131958 #1E278A #2935BC #4B56D8

Accessibility & contrast

On white

12.26
#1E278A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E278A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E278A
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E278A#FFFFFF#000000##FFFFFF
##1E278A1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e278a;
/* rgb */ color: rgb(30, 39, 138);
/* oklch */ color: oklch(34.3% 0.161 270.5);
Tailwind
colors: {
  custom: {
    50: '#6d61ad',
    500: '#1e278a',
    950: '#000000',
  },
}
SCSS
$custom: #1e278a;
$custom-light: #6d61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e278a",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 235,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34251,
    "c": 0.16128,
    "h": 270.5
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#1E278A
secondary
#BAB14A
accent
#D941E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E278A

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

Preview Lab → · Contrast checker → · Palette generator →

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