#1E1A7C#1E1A7C

#1E1A7C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.157 H 273.8°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#1E1A7C
RGBrgb(30, 26, 124)
HSLhsl(242, 65%, 29%)
HSVhsv(242, 79%, 49%)
CMYKcmyk(75.8%, 79%, 0%, 51.4%)
CIE-LABlab(17.78, 35.83, -54.11)
CIE-LCHlch(17.78, 64.90, 303.51°)
OKLaboklab(30.67% 0.0104 -0.1565)
OKLCHoklch(30.67% 0.157 273.8)
XYZxyz(4.5417, 2.4696, 19.3022)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A7C #787C1A
analogous
#1A477C #1E1A7C #4F1A7C
triadic
#1E1A7C #7C1E1A #1A7C1E
tetradic
#1E1A7C #7C1A47 #787C1A #1A7C4F
square
#1E1A7C #7C1A47 #787C1A #1A7C4F
split-complementary
#1E1A7C #7C4F1A #477C1A
monochromatic
#060519 #120F49 #1E1A7C #2A25AF #413BD6

Accessibility & contrast

On white

14.06
#1E1A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1E1A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1A7C
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A7C#FFFFFF#000000##FFFFFF
##1E1A7C1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1a7c;
/* rgb */ color: rgb(30, 26, 124);
/* oklch */ color: oklch(30.7% 0.157 273.8);
Tailwind
colors: {
  custom: {
    50: '#6b58a3',
    500: '#1e1a7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a7c;
$custom-light: #6b58a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a7c",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 242.449,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30669,
    "c": 0.15689,
    "h": 273.8
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#1E1A7C
secondary
#ACB042
accent
#E840E1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E1A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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