#1E236F#1E236F

#1E236F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.129 H 273.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#1E236F
RGBrgb(30, 35, 111)
HSLhsl(236, 57%, 28%)
HSVhsv(236, 73%, 44%)
CMYKcmyk(73%, 68.5%, 0%, 56.5%)
CIE-LABlab(18.48, 25.38, -44.61)
CIE-LCHlch(18.48, 51.32, 299.64°)
OKLaboklab(30.75% 0.007 -0.1288)
OKLCHoklch(30.75% 0.129 273.1)
XYZxyz(4.0047, 2.6254, 15.3315)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E236F #6F6A1E
analogous
#1E4C6F #1E236F #411E6F
triadic
#1E236F #6F1E23 #236F1E
tetradic
#1E236F #6F1E4C #6F6A1E #1E6F41
square
#1E236F #6F1E4C #6F6A1E #1E6F41
split-complementary
#1E236F #6F411E #4C6F1E
monochromatic
#070818 #11143F #1E236F #2B329F #3D46CB

Accessibility & contrast

On white

13.77
#1E236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E236F
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E236F#FFFFFF#000000##FFFFFF
##1E236F1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e236f;
/* rgb */ color: rgb(30, 35, 111);
/* oklch */ color: oklch(30.8% 0.129 273.1);
Tailwind
colors: {
  custom: {
    50: '#665e99',
    500: '#1e236f',
    950: '#000000',
  },
}
SCSS
$custom: #1e236f;
$custom-light: #665e99;
$custom-dark: #000000;
JSON
{
  "hex": "#1e236f",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 236.296,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30754,
    "c": 0.12902,
    "h": 273.1
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#1E236F
secondary
#A39D46
accent
#D747E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E236F

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

Preview Lab → · Contrast checker → · Palette generator →

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