#1E276E#1E276E

#1E276E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.4% C 0.122 H 271.8°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#1E276E
RGBrgb(30, 39, 110)
HSLhsl(233, 57%, 27%)
HSVhsv(233, 73%, 43%)
CMYKcmyk(72.7%, 64.5%, 0%, 56.9%)
CIE-LABlab(19.44, 22.22, -42.38)
CIE-LCHlch(19.44, 47.85, 297.67°)
OKLaboklab(31.43% 0.0038 -0.1223)
OKLCHoklch(31.43% 0.122 271.8)
XYZxyz(4.0745, 2.8525, 15.0847)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E276E #6E651E
analogous
#1E4F6E #1E276E #3D1E6E
triadic
#1E276E #6E1E27 #276E1E
tetradic
#1E276E #6E1E4F #6E651E #1E6E3D
square
#1E276E #6E1E4F #6E651E #1E6E3D
split-complementary
#1E276E #6E3D1E #4F6E1E
monochromatic
#070918 #11163E #1E276E #2B389E #3C4CCA

Accessibility & contrast

On white

13.37
#1E276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E276E
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E276E#FFFFFF#000000##FFFFFF
##1E276E1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e276e;
/* rgb */ color: rgb(30, 39, 110);
/* oklch */ color: oklch(31.4% 0.122 271.8);
Tailwind
colors: {
  custom: {
    50: '#666198',
    500: '#1e276e',
    950: '#000000',
  },
}
SCSS
$custom: #1e276e;
$custom-light: #666198;
$custom-dark: #000000;
JSON
{
  "hex": "#1e276e",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 233.25,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31434,
    "c": 0.12233,
    "h": 271.8
  },
  "luminance": 0.02853
}

Semantic roles & 50–950 ramp

primary
#1E276E
secondary
#A29846
accent
#CF47E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1E276E

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

Preview Lab → · Contrast checker → · Palette generator →

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