#1A105C#1A105C

#1A105C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.2% C 0.126 H 278.2°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#1A105C
RGBrgb(26, 16, 92)
HSLhsl(248, 70%, 21%)
HSVhsv(248, 83%, 36%)
CMYKcmyk(71.7%, 82.6%, 0%, 63.9%)
CIE-LABlab(11.71, 30.11, -43.22)
CIE-LCHlch(11.71, 52.67, 304.86°)
OKLaboklab(25.21% 0.0181 -0.1248)
OKLCHoklch(25.21% 0.126 278.2)
XYZxyz(2.5424, 1.3627, 10.2522)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A105C #525C10
analogous
#102C5C #1A105C #40105C
triadic
#1A105C #5C1A10 #105C1A
tetradic
#1A105C #5C102C #525C10 #105C40
square
#1A105C #5C102C #525C10 #105C40
split-complementary
#1A105C #5C4010 #2C5C10
monochromatic
#07051A #0B0728 #1A105C #291990 #3722C4

Accessibility & contrast

On white

16.50
#1A105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1A105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A105C
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A105C#FFFFFF#000000##FFFFFF
##1A105C1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001C5B
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a105c;
/* rgb */ color: rgb(26, 16, 92);
/* oklch */ color: oklch(25.2% 0.126 278.2);
Tailwind
colors: {
  custom: {
    50: '#62508b',
    500: '#1a105c',
    950: '#000000',
  },
}
SCSS
$custom: #1a105c;
$custom-light: #62508b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a105c",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 247.895,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25212,
    "c": 0.12613,
    "h": 278.2
  },
  "luminance": 0.01363
}

Semantic roles & 50–950 ramp

primary
#1A105C
secondary
#889533
accent
#ED3BD6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A105C

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

Preview Lab → · Contrast checker → · Palette generator →

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