#1E286F#1E286F

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

Color values

HEX#1E286F
RGBrgb(30, 40, 111)
HSLhsl(233, 57%, 28%)
HSVhsv(233, 73%, 44%)
CMYKcmyk(73%, 64%, 0%, 56.5%)
CIE-LABlab(19.81, 21.91, -42.43)
CIE-LCHlch(19.81, 47.76, 297.31°)
OKLaboklab(31.73% 0.003 -0.1224)
OKLCHoklch(31.73% 0.122 271.4)
XYZxyz(4.1625, 2.9409, 15.3841)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E286F #6F651E
analogous
#1E506F #1E286F #3D1E6F
triadic
#1E286F #6F1E28 #286F1E
tetradic
#1E286F #6F1E50 #6F651E #1E6F3D
square
#1E286F #6F1E50 #6F651E #1E6F3D
split-complementary
#1E286F #6F3D1E #506F1E
monochromatic
#070918 #11173F #1E286F #2B399F #3D4ECB

Accessibility & contrast

On white

13.22
#1E286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E286F
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E286F#FFFFFF#000000##FFFFFF
##1E286F1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e286f;
/* rgb */ color: rgb(30, 40, 111);
/* oklch */ color: oklch(31.7% 0.122 271.4);
Tailwind
colors: {
  custom: {
    50: '#666199',
    500: '#1e286f',
    950: '#000000',
  },
}
SCSS
$custom: #1e286f;
$custom-light: #666199;
$custom-dark: #000000;
JSON
{
  "hex": "#1e286f",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 232.593,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3173,
    "c": 0.12246,
    "h": 271.4
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#1E286F
secondary
#A39846
accent
#CE47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1E286F

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

Preview Lab → · Contrast checker → · Palette generator →

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