#1E146E#1E146E

#1E146E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.145 H 276.7°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#1E146E
RGBrgb(30, 20, 110)
HSLhsl(247, 69%, 25%)
HSVhsv(247, 82%, 43%)
CMYKcmyk(72.7%, 81.8%, 0%, 56.9%)
CIE-LABlab(14.96, 34.44, -49.74)
CIE-LCHlch(14.96, 60.50, 304.70°)
OKLaboklab(28.21% 0.0169 -0.1438)
OKLCHoklch(28.21% 0.145 276.7)
XYZxyz(3.5991, 1.9018, 14.9262)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E146E #646E14
analogous
#14376E #1E146E #4B146E
triadic
#1E146E #6E1E14 #146E1E
tetradic
#1E146E #6E1437 #646E14 #146E4B
square
#1E146E #6E1437 #646E14 #146E4B
split-complementary
#1E146E #6E4B14 #376E14
monochromatic
#07051A #100B3A #1E146E #2C1DA2 #3A27D6

Accessibility & contrast

On white

15.21
#1E146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1E146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E146E
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E146E#FFFFFF#000000##FFFFFF
##1E146E1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e146e;
/* rgb */ color: rgb(30, 20, 110);
/* oklch */ color: oklch(28.2% 0.145 276.7);
Tailwind
colors: {
  custom: {
    50: '#685499',
    500: '#1e146e',
    950: '#000000',
  },
}
SCSS
$custom: #1e146e;
$custom-light: #685499;
$custom-dark: #000000;
JSON
{
  "hex": "#1e146e",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 246.667,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28209,
    "c": 0.14475,
    "h": 276.7
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#1E146E
secondary
#99A539
accent
#EC3CD8
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E146E

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

Preview Lab → · Contrast checker → · Palette generator →

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