#1A0F7D#1A0F7D

#1A0F7D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.2% C 0.169 H 272.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#1A0F7D
RGBrgb(26, 15, 125)
HSLhsl(246, 79%, 27%)
HSVhsv(246, 88%, 49%)
CMYKcmyk(79.2%, 88%, 0%, 51%)
CIE-LABlab(15.70, 41.47, -58.20)
CIE-LCHlch(15.70, 71.46, 305.47°)
OKLaboklab(29.19% 0.0086 -0.1683)
OKLCHoklch(29.19% 0.169 272.9)
XYZxyz(4.2973, 2.0415, 19.5656)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F7D #727D0F
analogous
#0F3B7D #1A0F7D #510F7D
triadic
#1A0F7D #7D1A0F #0F7D1A
tetradic
#1A0F7D #7D0F3B #727D0F #0F7D51
square
#1A0F7D #7D0F3B #727D0F #0F7D51
split-complementary
#1A0F7D #7D510F #3B7D0F
monochromatic
#06031B #0F0846 #1A0F7D #2516B4 #3522E4

Accessibility & contrast

On white

14.91
#1A0F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1A0F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F7D
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F7D#FFFFFF#000000##FFFFFF
##1A0F7D1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C80
Deuteranopia (green-blind)
#00227B
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a0f7d;
/* rgb */ color: rgb(26, 15, 125);
/* oklch */ color: oklch(29.2% 0.169 272.9);
Tailwind
colors: {
  custom: {
    50: '#6b52a4',
    500: '#1a0f7d',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f7d;
$custom-light: #6b52a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f7d",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 125
  },
  "hsl": {
    "h": 246,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29188,
    "c": 0.16852,
    "h": 272.9
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#1A0F7D
secondary
#A7B434
accent
#F533E2
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F

Preview Lab

Preview with #1A0F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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