#1E236E#1E236E

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

Color values

HEX#1E236E
RGBrgb(30, 35, 110)
HSLhsl(236, 57%, 27%)
HSVhsv(236, 73%, 43%)
CMYKcmyk(72.7%, 68.2%, 0%, 56.9%)
CIE-LABlab(18.38, 25.00, -44.12)
CIE-LCHlch(18.38, 50.71, 299.54°)
OKLaboklab(30.65% 0.0071 -0.1274)
OKLCHoklch(30.65% 0.128 273.2)
XYZxyz(3.9500, 2.6035, 15.0432)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E236E #6E691E
analogous
#1E4B6E #1E236E #411E6E
triadic
#1E236E #6E1E23 #236E1E
tetradic
#1E236E #6E1E4B #6E691E #1E6E41
square
#1E236E #6E1E4B #6E691E #1E6E41
split-complementary
#1E236E #6E411E #4B6E1E
monochromatic
#070818 #11143E #1E236E #2B329E #3C45CA

Accessibility & contrast

On white

13.81
#1E236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E236E
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E236E#FFFFFF#000000##FFFFFF
##1E236E1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e236e;
/* rgb */ color: rgb(30, 35, 110);
/* oklch */ color: oklch(30.7% 0.128 273.2);
Tailwind
colors: {
  custom: {
    50: '#665e98',
    500: '#1e236e',
    950: '#000000',
  },
}
SCSS
$custom: #1e236e;
$custom-light: #665e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1e236e",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 236.25,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30654,
    "c": 0.12758,
    "h": 273.2
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#1E236E
secondary
#A29C46
accent
#D747E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E236E

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

Preview Lab → · Contrast checker → · Palette generator →

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