#1A108E#1A108E

#1A108E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.5% C 0.188 H 271.1°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#1A108E
RGBrgb(26, 16, 142)
HSLhsl(245, 80%, 31%)
HSVhsv(245, 89%, 56%)
CMYKcmyk(81.7%, 88.7%, 0%, 44.3%)
CIE-LABlab(18.11, 46.28, -64.93)
CIE-LCHlch(18.11, 79.73, 305.48°)
OKLaboklab(31.48% 0.0036 -0.1878)
OKLCHoklch(31.48% 0.188 271.1)
XYZxyz(5.4921, 2.5426, 25.7872)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A108E #848E10
analogous
#10458E #1A108E #59108E
triadic
#1A108E #8E1A10 #108E1A
tetradic
#1A108E #8E1045 #848E10 #108E59
square
#1A108E #8E1045 #848E10 #108E59
split-complementary
#1A108E #8E5910 #458E10
monochromatic
#060420 #100A57 #1A108E #2416C5 #3F31E8

Accessibility & contrast

On white

13.92
#1A108E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A108E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A108E
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A108E#FFFFFF#000000##FFFFFF
##1A108E1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a108e;
/* rgb */ color: rgb(26, 16, 142);
/* oklch */ color: oklch(31.5% 0.188 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f54b1',
    500: '#1a108e',
    950: '#000000',
  },
}
SCSS
$custom: #1a108e;
$custom-light: #6f54b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a108e",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 142
  },
  "hsl": {
    "h": 244.762,
    "s": 79.747,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31477,
    "c": 0.18783,
    "h": 271.1
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#1A108E
secondary
#B8C337
accent
#F632E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1A108E

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

Preview Lab → · Contrast checker → · Palette generator →

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