#1E278B#1E278B

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

Color values

HEX#1E278B
RGBrgb(30, 39, 139)
HSLhsl(235, 64%, 33%)
HSVhsv(235, 78%, 55%)
CMYKcmyk(78.4%, 71.9%, 0%, 45.5%)
CIE-LABlab(22.27, 33.24, -56.16)
CIE-LCHlch(22.27, 65.26, 300.62°)
OKLaboklab(34.36% 0.0014 -0.1626)
OKLCHoklch(34.36% 0.163 270.5)
XYZxyz(5.9196, 3.5905, 24.8021)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E278B #8B821E
analogous
#1E5D8B #1E278B #4B1E8B
triadic
#1E278B #8B1E27 #278B1E
tetradic
#1E278B #8B1E5D #8B821E #1E8B4B
square
#1E278B #8B1E5D #8B821E #1E8B4B
split-complementary
#1E278B #8B4B1E #5D8B1E
monochromatic
#080B26 #131959 #1E278B #2935BD #4B57D8

Accessibility & contrast

On white

12.22
#1E278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E278B
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E278B#FFFFFF#000000##FFFFFF
##1E278B1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e278b;
/* rgb */ color: rgb(30, 39, 139);
/* oklch */ color: oklch(34.4% 0.163 270.5);
Tailwind
colors: {
  custom: {
    50: '#6d61ae',
    500: '#1e278b',
    950: '#000000',
  },
}
SCSS
$custom: #1e278b;
$custom-light: #6d61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e278b",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 235.046,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34357,
    "c": 0.1626,
    "h": 270.5
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#1E278B
secondary
#BBB14A
accent
#DA40E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E278B

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

Preview Lab → · Contrast checker → · Palette generator →

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