#1A0F63#1A0F63

#1A0F63 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.136 H 277.0°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#1A0F63
RGBrgb(26, 15, 99)
HSLhsl(248, 74%, 22%)
HSVhsv(248, 85%, 39%)
CMYKcmyk(73.7%, 84.8%, 0%, 61.2%)
CIE-LABlab(12.36, 33.05, -46.81)
CIE-LCHlch(12.36, 57.30, 305.22°)
OKLaboklab(25.92% 0.0166 -0.1353)
OKLCHoklch(25.92% 0.136 277)
XYZxyz(2.8482, 1.4619, 11.9340)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F63 #58630F
analogous
#0F2E63 #1A0F63 #440F63
triadic
#1A0F63 #631A0F #0F631A
tetradic
#1A0F63 #630F2E #58630F #0F6344
square
#1A0F63 #630F2E #58630F #0F6344
split-complementary
#1A0F63 #63440F #2E630F
monochromatic
#07041B #0C072E #1A0F63 #281798 #361FCD

Accessibility & contrast

On white

16.25
#1A0F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1A0F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F63
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F63#FFFFFF#000000##FFFFFF
##1A0F631.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002465
Deuteranopia (green-blind)
#001D62
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1a0f63;
/* rgb */ color: rgb(26, 15, 99);
/* oklch */ color: oklch(25.9% 0.136 277.0);
Tailwind
colors: {
  custom: {
    50: '#645090',
    500: '#1a0f63',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f63;
$custom-light: #645090;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f63",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 247.857,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2592,
    "c": 0.13629,
    "h": 277
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#1A0F63
secondary
#8E9C32
accent
#F037D8
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1A0F63

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

Preview Lab → · Contrast checker → · Palette generator →

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