#1E276C#1E276C

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

Color values

HEX#1E276C
RGBrgb(30, 39, 108)
HSLhsl(233, 57%, 27%)
HSVhsv(233, 72%, 42%)
CMYKcmyk(72.2%, 63.9%, 0%, 57.6%)
CIE-LABlab(19.26, 21.44, -41.37)
CIE-LCHlch(19.26, 46.60, 297.39°)
OKLaboklab(31.25% 0.0039 -0.1193)
OKLCHoklch(31.25% 0.119 271.9)
XYZxyz(3.9668, 2.8094, 14.5177)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E276C #6C631E
analogous
#1E4E6C #1E276C #3C1E6C
triadic
#1E276C #6C1E27 #276C1E
tetradic
#1E276C #6C1E4E #6C631E #1E6C3C
square
#1E276C #6C1E4E #6C631E #1E6C3C
split-complementary
#1E276C #6C3C1E #4E6C1E
monochromatic
#070918 #11163C #1E276C #2B389C #3C4CC9

Accessibility & contrast

On white

13.44
#1E276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1E276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E276C
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E276C#FFFFFF#000000##FFFFFF
##1E276C1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e276c;
/* rgb */ color: rgb(30, 39, 108);
/* oklch */ color: oklch(31.2% 0.119 271.9);
Tailwind
colors: {
  custom: {
    50: '#656197',
    500: '#1e276c',
    950: '#000000',
  },
}
SCSS
$custom: #1e276c;
$custom-light: #656197;
$custom-dark: #000000;
JSON
{
  "hex": "#1e276c",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 233.077,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31246,
    "c": 0.11938,
    "h": 271.9
  },
  "luminance": 0.0281
}

Semantic roles & 50–950 ramp

primary
#1E276C
secondary
#A09645
accent
#CE48E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1E276C

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

Preview Lab → · Contrast checker → · Palette generator →

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