#1E237A#1E237A

#1E237A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.144 H 272.3°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#1E237A
RGBrgb(30, 35, 122)
HSLhsl(237, 61%, 30%)
HSVhsv(237, 75%, 48%)
CMYKcmyk(75.4%, 71.3%, 0%, 52.2%)
CIE-LABlab(19.57, 29.53, -49.89)
CIE-LCHlch(19.57, 57.97, 300.63°)
OKLaboklab(31.88% 0.0058 -0.1443)
OKLCHoklch(31.88% 0.144 272.3)
XYZxyz(4.6481, 2.8828, 18.7200)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E237A #7A751E
analogous
#1E517A #1E237A #471E7A
triadic
#1E237A #7A1E23 #237A1E
tetradic
#1E237A #7A1E51 #7A751E #1E7A47
square
#1E237A #7A1E51 #7A751E #1E7A47
split-complementary
#1E237A #7A471E #517A1E
monochromatic
#060719 #121549 #1E237A #2A31AB #424AD0

Accessibility & contrast

On white

13.32
#1E237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E237A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E237A#FFFFFF#000000##FFFFFF
##1E237A1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e237a;
/* rgb */ color: rgb(30, 35, 122);
/* oklch */ color: oklch(31.9% 0.144 272.3);
Tailwind
colors: {
  custom: {
    50: '#695ea1',
    500: '#1e237a',
    950: '#000000',
  },
}
SCSS
$custom: #1e237a;
$custom-light: #695ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e237a",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 236.739,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3188,
    "c": 0.14439,
    "h": 272.3
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#1E237A
secondary
#AEA846
accent
#DB44E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E237A

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

Preview Lab → · Contrast checker → · Palette generator →

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