#1E286C#1E286C

#1E286C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.118 H 271.5°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#1E286C
RGBrgb(30, 40, 108)
HSLhsl(232, 57%, 27%)
HSVhsv(232, 72%, 42%)
CMYKcmyk(72.2%, 63%, 0%, 57.6%)
CIE-LABlab(19.54, 20.73, -40.92)
CIE-LCHlch(19.54, 45.88, 296.86°)
OKLaboklab(31.45% 0.003 -0.118)
OKLCHoklch(31.45% 0.118 271.5)
XYZxyz(4.0001, 2.8759, 14.5288)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E286C #6C621E
analogous
#1E4F6C #1E286C #3B1E6C
triadic
#1E286C #6C1E28 #286C1E
tetradic
#1E286C #6C1E4F #6C621E #1E6C3B
square
#1E286C #6C1E4F #6C621E #1E6C3B
split-complementary
#1E286C #6C3B1E #4F6C1E
monochromatic
#070918 #11163C #1E286C #2B3A9C #3C4EC9

Accessibility & contrast

On white

13.33
#1E286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E286C
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E286C#FFFFFF#000000##FFFFFF
##1E286C1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#002C6B
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e286c;
/* rgb */ color: rgb(30, 40, 108);
/* oklch */ color: oklch(31.5% 0.118 271.5);
Tailwind
colors: {
  custom: {
    50: '#656197',
    500: '#1e286c',
    950: '#000000',
  },
}
SCSS
$custom: #1e286c;
$custom-light: #656197;
$custom-dark: #000000;
JSON
{
  "hex": "#1e286c",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 232.308,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31451,
    "c": 0.11803,
    "h": 271.5
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#1E286C
secondary
#A09545
accent
#CC48E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1E286C

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

Preview Lab → · Contrast checker → · Palette generator →

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