#1A0E7B#1A0E7B

#1A0E7B is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.167 H 273.3°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#1A0E7B
RGBrgb(26, 14, 123)
HSLhsl(247, 80%, 27%)
HSVhsv(247, 89%, 48%)
CMYKcmyk(78.9%, 88.6%, 0%, 51.8%)
CIE-LABlab(15.29, 41.28, -57.60)
CIE-LCHlch(15.29, 70.86, 305.63°)
OKLaboklab(28.83% 0.0095 -0.1665)
OKLCHoklch(28.83% 0.167 273.3)
XYZxyz(4.1570, 1.9633, 18.8949)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0E7B #6F7B0E
analogous
#0E387B #1A0E7B #510E7B
triadic
#1A0E7B #7B1A0E #0E7B1A
tetradic
#1A0E7B #7B0E38 #6F7B0E #0E7B51
square
#1A0E7B #7B0E38 #6F7B0E #0E7B51
split-complementary
#1A0E7B #7B510E #387B0E
monochromatic
#06031B #0E0844 #1A0E7B #2614B2 #341EE5

Accessibility & contrast

On white

15.08
#1A0E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1A0E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0E7B
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0E7B#FFFFFF#000000##FFFFFF
##1A0E7B1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B7E
Deuteranopia (green-blind)
#002179
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a0e7b;
/* rgb */ color: rgb(26, 14, 123);
/* oklch */ color: oklch(28.8% 0.167 273.3);
Tailwind
colors: {
  custom: {
    50: '#6a52a2',
    500: '#1a0e7b',
    950: '#000000',
  },
}
SCSS
$custom: #1a0e7b;
$custom-light: #6a52a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0e7b",
  "rgb": {
    "r": 26,
    "g": 14,
    "b": 123
  },
  "hsl": {
    "h": 246.606,
    "s": 79.562,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28832,
    "c": 0.16682,
    "h": 273.3
  },
  "luminance": 0.01964
}

Semantic roles & 50–950 ramp

primary
#1A0E7B
secondary
#A4B233
accent
#F632E0
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F

Preview Lab

Preview with #1A0E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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