#1E277A#1E277A

#1E277A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.140 H 271.3°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#1E277A
RGBrgb(30, 39, 122)
HSLhsl(234, 61%, 30%)
HSVhsv(234, 75%, 48%)
CMYKcmyk(75.4%, 68%, 0%, 52.2%)
CIE-LABlab(20.56, 26.86, -48.25)
CIE-LCHlch(20.56, 55.22, 299.10°)
OKLaboklab(32.6% 0.0032 -0.1395)
OKLCHoklch(32.6% 0.14 271.3)
XYZxyz(4.7726, 3.1317, 18.7615)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E277A #7A711E
analogous
#1E557A #1E277A #431E7A
triadic
#1E277A #7A1E27 #277A1E
tetradic
#1E277A #7A1E55 #7A711E #1E7A43
square
#1E277A #7A1E55 #7A711E #1E7A43
split-complementary
#1E277A #7A431E #557A1E
monochromatic
#060819 #121749 #1E277A #2A37AB #4250D0

Accessibility & contrast

On white

12.91
#1E277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E277A
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E277A#FFFFFF#000000##FFFFFF
##1E277A1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e277a;
/* rgb */ color: rgb(30, 39, 122);
/* oklch */ color: oklch(32.6% 0.140 271.3);
Tailwind
colors: {
  custom: {
    50: '#6961a1',
    500: '#1e277a',
    950: '#000000',
  },
}
SCSS
$custom: #1e277a;
$custom-light: #6961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e277a",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 234.13,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32603,
    "c": 0.13952,
    "h": 271.3
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#1E277A
secondary
#AEA346
accent
#D444E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E277A

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

Preview Lab → · Contrast checker → · Palette generator →

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