#1A1165#1A1165

#1A1165 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.137 H 276.3°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#1A1165
RGBrgb(26, 17, 101)
HSLhsl(246, 71%, 23%)
HSVhsv(246, 83%, 40%)
CMYKcmyk(74.3%, 83.2%, 0%, 60.4%)
CIE-LABlab(12.98, 32.64, -47.11)
CIE-LCHlch(12.98, 57.31, 304.71°)
OKLaboklab(26.42% 0.015 -0.1362)
OKLCHoklch(26.42% 0.137 276.3)
XYZxyz(2.9746, 1.5598, 12.4537)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1165 #5C6511
analogous
#113265 #1A1165 #441165
triadic
#1A1165 #651A11 #11651A
tetradic
#1A1165 #651132 #5C6511 #116544
square
#1A1165 #651132 #5C6511 #116544
split-complementary
#1A1165 #654411 #326511
monochromatic
#07041A #0D0831 #1A1165 #271A99 #3523CE

Accessibility & contrast

On white

16.01
#1A1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1A1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1165
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1165#FFFFFF#000000##FFFFFF
##1A11651.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001E64
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a1165;
/* rgb */ color: rgb(26, 17, 101);
/* oklch */ color: oklch(26.4% 0.137 276.3);
Tailwind
colors: {
  custom: {
    50: '#645192',
    500: '#1a1165',
    950: '#000000',
  },
}
SCSS
$custom: #1a1165;
$custom-light: #645192;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1165",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 246.429,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26424,
    "c": 0.137,
    "h": 276.3
  },
  "luminance": 0.0156
}

Semantic roles & 50–950 ramp

primary
#1A1165
secondary
#929D35
accent
#EE3ADB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1A1165

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

Preview Lab → · Contrast checker → · Palette generator →

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