#1A108D#1A108D

#1A108D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.3% C 0.187 H 271.2°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#1A108D
RGBrgb(26, 16, 141)
HSLhsl(245, 80%, 31%)
HSVhsv(245, 89%, 55%)
CMYKcmyk(81.6%, 88.7%, 0%, 44.7%)
CIE-LABlab(17.98, 45.97, -64.53)
CIE-LCHlch(17.98, 79.23, 305.47°)
OKLaboklab(31.35% 0.0039 -0.1866)
OKLCHoklch(31.35% 0.187 271.2)
XYZxyz(5.4174, 2.5127, 25.3936)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A108D #838D10
analogous
#10448D #1A108D #58108D
triadic
#1A108D #8D1A10 #108D1A
tetradic
#1A108D #8D1044 #838D10 #108D58
square
#1A108D #8D1044 #838D10 #108D58
split-complementary
#1A108D #8D5810 #448D10
monochromatic
#06041F #100A56 #1A108D #2416C4 #3F30E7

Accessibility & contrast

On white

13.98
#1A108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1A108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A108D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A108D#FFFFFF#000000##FFFFFF
##1A108D1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003290
Deuteranopia (green-blind)
#00268B
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a108d;
/* rgb */ color: rgb(26, 16, 141);
/* oklch */ color: oklch(31.3% 0.187 271.2);
Tailwind
colors: {
  custom: {
    50: '#6f54b0',
    500: '#1a108d',
    950: '#000000',
  },
}
SCSS
$custom: #1a108d;
$custom-light: #6f54b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a108d",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 244.8,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31348,
    "c": 0.18667,
    "h": 271.2
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#1A108D
secondary
#B7C237
accent
#F632E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1A108D

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

Preview Lab → · Contrast checker → · Palette generator →

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