#1A0F8E#1A0F8E

#1A0F8E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.4% C 0.188 H 271.2°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#1A0F8E
RGBrgb(26, 15, 142)
HSLhsl(245, 81%, 31%)
HSVhsv(245, 89%, 56%)
CMYKcmyk(81.7%, 89.4%, 0%, 44.3%)
CIE-LABlab(17.98, 46.67, -65.15)
CIE-LCHlch(17.98, 80.14, 305.62°)
OKLaboklab(31.39% 0.0038 -0.1884)
OKLCHoklch(31.39% 0.188 271.2)
XYZxyz(5.4777, 2.5136, 25.7824)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F8E #838E0F
analogous
#0F438E #1A0F8E #590F8E
triadic
#1A0F8E #8E1A0F #0F8E1A
tetradic
#1A0F8E #8E0F43 #838E0F #0F8E59
square
#1A0F8E #8E0F43 #838E0F #0F8E59
split-complementary
#1A0F8E #8E590F #438E0F
monochromatic
#06031F #100957 #1A0F8E #2415C5 #3F2EE9

Accessibility & contrast

On white

13.97
#1A0F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1A0F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F8E
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F8E#FFFFFF#000000##FFFFFF
##1A0F8E1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00258C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a0f8e;
/* rgb */ color: rgb(26, 15, 142);
/* oklch */ color: oklch(31.4% 0.188 271.2);
Tailwind
colors: {
  custom: {
    50: '#6f54b1',
    500: '#1a0f8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f8e;
$custom-light: #6f54b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f8e",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 142
  },
  "hsl": {
    "h": 245.197,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31388,
    "c": 0.18843,
    "h": 271.2
  },
  "luminance": 0.02514
}

Semantic roles & 50–950 ramp

primary
#1A0F8E
secondary
#B7C336
accent
#F731E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1A0F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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