#1E276B#1E276B

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

Color values

HEX#1E276B
RGBrgb(30, 39, 107)
HSLhsl(233, 56%, 27%)
HSVhsv(233, 72%, 42%)
CMYKcmyk(72%, 63.6%, 0%, 58%)
CIE-LABlab(19.17, 21.04, -40.87)
CIE-LCHlch(19.17, 45.97, 297.24°)
OKLaboklab(31.15% 0.0039 -0.1178)
OKLCHoklch(31.15% 0.118 271.9)
XYZxyz(3.9139, 2.7882, 14.2390)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E276B #6B621E
analogous
#1E4E6B #1E276B #3C1E6B
triadic
#1E276B #6B1E27 #276B1E
tetradic
#1E276B #6B1E4E #6B621E #1E6B3C
square
#1E276B #6B1E4E #6B621E #1E6B3C
split-complementary
#1E276B #6B3C1E #4E6B1E
monochromatic
#070918 #11163B #1E276B #2B389B #3B4CC8

Accessibility & contrast

On white

13.48
#1E276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E276B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E276B#FFFFFF#000000##FFFFFF
##1E276B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e276b;
/* rgb */ color: rgb(30, 39, 107);
/* oklch */ color: oklch(31.2% 0.118 271.9);
Tailwind
colors: {
  custom: {
    50: '#656196',
    500: '#1e276b',
    950: '#000000',
  },
}
SCSS
$custom: #1e276b;
$custom-light: #656196;
$custom-dark: #000000;
JSON
{
  "hex": "#1e276b",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 232.987,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31153,
    "c": 0.1179,
    "h": 271.9
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#1E276B
secondary
#9F9545
accent
#CE48DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1E276B

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

Preview Lab → · Contrast checker → · Palette generator →

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