#1E236D#1E236D

#1E236D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.126 H 273.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#1E236D
RGBrgb(30, 35, 109)
HSLhsl(236, 57%, 27%)
HSVhsv(236, 72%, 43%)
CMYKcmyk(72.5%, 67.9%, 0%, 57.3%)
CIE-LABlab(18.28, 24.62, -43.62)
CIE-LCHlch(18.28, 50.09, 299.43°)
OKLaboklab(30.56% 0.0071 -0.1259)
OKLCHoklch(30.56% 0.126 273.2)
XYZxyz(3.8958, 2.5818, 14.7581)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E236D #6D681E
analogous
#1E4A6D #1E236D #411E6D
triadic
#1E236D #6D1E23 #236D1E
tetradic
#1E236D #6D1E4A #6D681E #1E6D41
square
#1E236D #6D1E4A #6D681E #1E6D41
split-complementary
#1E236D #6D411E #4A6D1E
monochromatic
#070818 #11143D #1E236D #2B329D #3C45C9

Accessibility & contrast

On white

13.85
#1E236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E236D
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E236D#FFFFFF#000000##FFFFFF
##1E236D1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e236d;
/* rgb */ color: rgb(30, 35, 109);
/* oklch */ color: oklch(30.6% 0.126 273.2);
Tailwind
colors: {
  custom: {
    50: '#665e98',
    500: '#1e236d',
    950: '#000000',
  },
}
SCSS
$custom: #1e236d;
$custom-light: #665e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1e236d",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 236.203,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30555,
    "c": 0.12615,
    "h": 273.2
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#1E236D
secondary
#A19C45
accent
#D648E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1E236D

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

Preview Lab → · Contrast checker → · Palette generator →

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