#1E236B#1E236B

#1E236B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.123 H 273.4°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#1E236B
RGBrgb(30, 35, 107)
HSLhsl(236, 56%, 27%)
HSVhsv(236, 72%, 42%)
CMYKcmyk(72%, 67.3%, 0%, 58%)
CIE-LABlab(18.10, 23.85, -42.63)
CIE-LCHlch(18.10, 48.85, 299.22°)
OKLaboklab(30.36% 0.0073 -0.123)
OKLCHoklch(30.36% 0.123 273.4)
XYZxyz(3.7894, 2.5393, 14.1975)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E236B #6B661E
analogous
#1E4A6B #1E236B #401E6B
triadic
#1E236B #6B1E23 #236B1E
tetradic
#1E236B #6B1E4A #6B661E #1E6B40
square
#1E236B #6B1E4A #6B661E #1E6B40
split-complementary
#1E236B #6B401E #4A6B1E
monochromatic
#070818 #11133B #1E236B #2B339B #3B44C8

Accessibility & contrast

On white

13.93
#1E236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1E236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E236B
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E236B#FFFFFF#000000##FFFFFF
##1E236B1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e236b;
/* rgb */ color: rgb(30, 35, 107);
/* oklch */ color: oklch(30.4% 0.123 273.4);
Tailwind
colors: {
  custom: {
    50: '#655e96',
    500: '#1e236b',
    950: '#000000',
  },
}
SCSS
$custom: #1e236b;
$custom-light: #655e96;
$custom-dark: #000000;
JSON
{
  "hex": "#1e236b",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 236.104,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30357,
    "c": 0.12327,
    "h": 273.4
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#1E236B
secondary
#9F9A45
accent
#D648DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1E236B

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

Preview Lab → · Contrast checker → · Palette generator →

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