#1E0F7E#1E0F7E

#1E0F7E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.6% C 0.169 H 274.8°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#1E0F7E
RGBrgb(30, 15, 126)
HSLhsl(248, 79%, 28%)
HSVhsv(248, 88%, 49%)
CMYKcmyk(76.2%, 88.1%, 0%, 50.6%)
CIE-LABlab(16.12, 42.03, -58.13)
CIE-LCHlch(16.12, 71.73, 305.87°)
OKLaboklab(29.59% 0.014 -0.168)
OKLCHoklch(29.59% 0.169 274.8)
XYZxyz(4.4709, 2.1236, 19.9089)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0F7E #6F7E0F
analogous
#0F387E #1E0F7E #550F7E
triadic
#1E0F7E #7E1E0F #0F7E1E
tetradic
#1E0F7E #7E0F38 #6F7E0F #0F7E55
square
#1E0F7E #7E0F38 #6F7E0F #0F7E55
split-complementary
#1E0F7E #7E550F #387E0F
monochromatic
#07031B #110847 #1E0F7E #2B16B5 #3D23E5

Accessibility & contrast

On white

14.74
#1E0F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E0F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0F7E
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0F7E#FFFFFF#000000##FFFFFF
##1E0F7E1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e0f7e;
/* rgb */ color: rgb(30, 15, 126);
/* oklch */ color: oklch(29.6% 0.169 274.8);
Tailwind
colors: {
  custom: {
    50: '#6c53a5',
    500: '#1e0f7e',
    950: '#000000',
  },
}
SCSS
$custom: #1e0f7e;
$custom-light: #6c53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0f7e",
  "rgb": {
    "r": 30,
    "g": 15,
    "b": 126
  },
  "hsl": {
    "h": 248.108,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29588,
    "c": 0.16861,
    "h": 274.8
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#1E0F7E
secondary
#A3B534
accent
#F533DB
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E0F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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