#1E276A#1E276A

#1E276A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.116 H 271.9°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#1E276A
RGBrgb(30, 39, 106)
HSLhsl(233, 56%, 27%)
HSVhsv(233, 72%, 42%)
CMYKcmyk(71.7%, 63.2%, 0%, 58.4%)
CIE-LABlab(19.09, 20.65, -40.36)
CIE-LCHlch(19.09, 45.34, 297.10°)
OKLaboklab(31.06% 0.0039 -0.1163)
OKLCHoklch(31.06% 0.116 271.9)
XYZxyz(3.8616, 2.7673, 13.9635)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E276A #6A611E
analogous
#1E4D6A #1E276A #3B1E6A
triadic
#1E276A #6A1E27 #276A1E
tetradic
#1E276A #6A1E4D #6A611E #1E6A3B
square
#1E276A #6A1E4D #6A611E #1E6A3B
split-complementary
#1E276A #6A3B1E #4D6A1E
monochromatic
#070918 #11153A #1E276A #2C399A #3B4CC7

Accessibility & contrast

On white

13.52
#1E276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E276A
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E276A#FFFFFF#000000##FFFFFF
##1E276A1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e276a;
/* rgb */ color: rgb(30, 39, 106);
/* oklch */ color: oklch(31.1% 0.116 271.9);
Tailwind
colors: {
  custom: {
    50: '#656195',
    500: '#1e276a',
    950: '#000000',
  },
}
SCSS
$custom: #1e276a;
$custom-light: #656195;
$custom-dark: #000000;
JSON
{
  "hex": "#1e276a",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 232.895,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3106,
    "c": 0.11642,
    "h": 271.9
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#1E276A
secondary
#9E9445
accent
#CD49DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1E276A

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

Preview Lab → · Contrast checker → · Palette generator →

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