#1A0F57#1A0F57

#1A0F57 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.5% C 0.120 H 279.6°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#1A0F57
RGBrgb(26, 15, 87)
HSLhsl(249, 71%, 20%)
HSVhsv(249, 83%, 34%)
CMYKcmyk(70.1%, 82.8%, 0%, 65.9%)
CIE-LABlab(10.92, 28.95, -41.15)
CIE-LCHlch(10.92, 50.31, 305.13°)
OKLaboklab(24.48% 0.0202 -0.1188)
OKLCHoklch(24.48% 0.12 279.6)
XYZxyz(2.3166, 1.2492, 9.1340)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F57 #4C570F
analogous
#0F2857 #1A0F57 #3E0F57
triadic
#1A0F57 #571A0F #0F571A
tetradic
#1A0F57 #570F28 #4C570F #0F573E
square
#1A0F57 #570F28 #4C570F #0F573E
split-complementary
#1A0F57 #573E0F #28570F
monochromatic
#08051A #0A0623 #1A0F57 #2A188B #3921BF

Accessibility & contrast

On white

16.80
#1A0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1A0F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F57
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F57#FFFFFF#000000##FFFFFF
##1A0F571.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002059
Deuteranopia (green-blind)
#001A56
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1a0f57;
/* rgb */ color: rgb(26, 15, 87);
/* oklch */ color: oklch(24.5% 0.120 279.6);
Tailwind
colors: {
  custom: {
    50: '#614f87',
    500: '#1a0f57',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f57;
$custom-light: #614f87;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f57",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 249.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.24482,
    "c": 0.12049,
    "h": 279.6
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#1A0F57
secondary
#829131
accent
#ED3AD2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1A0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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