#1E287C#1E287C

#1E287C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.141 H 270.9°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#1E287C
RGBrgb(30, 40, 124)
HSLhsl(234, 61%, 30%)
HSVhsv(234, 76%, 49%)
CMYKcmyk(75.8%, 67.7%, 0%, 51.4%)
CIE-LABlab(21.01, 26.95, -48.79)
CIE-LCHlch(21.01, 55.74, 298.91°)
OKLaboklab(32.99% 0.0023 -0.141)
OKLCHoklch(32.99% 0.141 270.9)
XYZxyz(4.9311, 3.2483, 19.4320)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E287C #7C721E
analogous
#1E577C #1E287C #431E7C
triadic
#1E287C #7C1E28 #287C1E
tetradic
#1E287C #7C1E57 #7C721E #1E7C43
square
#1E287C #7C1E57 #7C721E #1E7C43
split-complementary
#1E287C #7C431E #577C1E
monochromatic
#060819 #12184B #1E287C #2A38AD #4352D1

Accessibility & contrast

On white

12.73
#1E287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E287C
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E287C#FFFFFF#000000##FFFFFF
##1E287C1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e287c;
/* rgb */ color: rgb(30, 40, 124);
/* oklch */ color: oklch(33.0% 0.141 270.9);
Tailwind
colors: {
  custom: {
    50: '#6962a3',
    500: '#1e287c',
    950: '#000000',
  },
}
SCSS
$custom: #1e287c;
$custom-light: #6962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e287c",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 233.617,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3299,
    "c": 0.14107,
    "h": 270.9
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#1E287C
secondary
#AFA446
accent
#D344E4
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E287C

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

Preview Lab → · Contrast checker → · Palette generator →

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