#1E237F#1E237F

#1E237F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.151 H 271.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#1E237F
RGBrgb(30, 35, 127)
HSLhsl(237, 62%, 31%)
HSVhsv(237, 76%, 50%)
CMYKcmyk(76.4%, 72.4%, 0%, 50.2%)
CIE-LABlab(20.08, 31.39, -52.22)
CIE-LCHlch(20.08, 60.93, 301.01°)
OKLaboklab(32.41% 0.0051 -0.1511)
OKLCHoklch(32.41% 0.151 271.9)
XYZxyz(4.9659, 3.0099, 20.3938)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E237F #7F7A1E
analogous
#1E537F #1E237F #491E7F
triadic
#1E237F #7F1E23 #237F1E
tetradic
#1E237F #7F1E53 #7F7A1E #1E7F49
square
#1E237F #7F1E53 #7F7A1E #1E7F49
split-complementary
#1E237F #7F491E #537F1E
monochromatic
#07081C #12154D #1E237F #2A31B1 #444CD3

Accessibility & contrast

On white

13.11
#1E237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E237F
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E237F#FFFFFF#000000##FFFFFF
##1E237F1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e237f;
/* rgb */ color: rgb(30, 35, 127);
/* oklch */ color: oklch(32.4% 0.151 271.9);
Tailwind
colors: {
  custom: {
    50: '#6b5ea5',
    500: '#1e237f',
    950: '#000000',
  },
}
SCSS
$custom: #1e237f;
$custom-light: #6b5ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e237f",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 236.907,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32407,
    "c": 0.15117,
    "h": 271.9
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#1E237F
secondary
#B2AD47
accent
#DD43E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E237F

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

Preview Lab → · Contrast checker → · Palette generator →

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