#1E137E#1E137E

#1E137E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.0% C 0.166 H 274.4°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#1E137E
RGBrgb(30, 19, 126)
HSLhsl(246, 74%, 28%)
HSVhsv(246, 85%, 49%)
CMYKcmyk(76.2%, 84.9%, 0%, 50.6%)
CIE-LABlab(16.74, 40.21, -57.11)
CIE-LCHlch(16.74, 69.85, 305.15°)
OKLaboklab(30.01% 0.0127 -0.1651)
OKLCHoklch(30.01% 0.166 274.4)
XYZxyz(4.5329, 2.2477, 19.9296)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E137E #737E13
analogous
#133D7E #1E137E #53137E
triadic
#1E137E #7E1E13 #137E1E
tetradic
#1E137E #7E133D #737E13 #137E53
square
#1E137E #7E133D #737E13 #137E53
split-complementary
#1E137E #7E5313 #3D7E13
monochromatic
#06041B #110B49 #1E137E #2B1BB3 #3F2CDF

Accessibility & contrast

On white

14.49
#1E137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E137E
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E137E#FFFFFF#000000##FFFFFF
##1E137E1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e137e;
/* rgb */ color: rgb(30, 19, 126);
/* oklch */ color: oklch(30.0% 0.166 274.4);
Tailwind
colors: {
  custom: {
    50: '#6c55a5',
    500: '#1e137e',
    950: '#000000',
  },
}
SCSS
$custom: #1e137e;
$custom-light: #6c55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e137e",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 246.168,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3001,
    "c": 0.16564,
    "h": 274.4
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#1E137E
secondary
#A7B439
accent
#F037DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E137E

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

Preview Lab → · Contrast checker → · Palette generator →

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