#1A106E#1A106E

#1A106E is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.149 H 274.9°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#1A106E
RGBrgb(26, 16, 110)
HSLhsl(246, 75%, 25%)
HSVhsv(246, 85%, 43%)
CMYKcmyk(76.4%, 85.5%, 0%, 56.9%)
CIE-LABlab(13.92, 36.19, -51.48)
CIE-LCHlch(13.92, 62.93, 305.11°)
OKLaboklab(27.4% 0.0128 -0.1488)
OKLCHoklch(27.4% 0.149 274.9)
XYZxyz(3.4248, 1.7156, 14.8995)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A106E #646E10
analogous
#10356E #1A106E #49106E
triadic
#1A106E #6E1A10 #106E1A
tetradic
#1A106E #6E1035 #646E10 #106E49
square
#1A106E #6E1035 #646E10 #106E49
split-complementary
#1A106E #6E4910 #356E10
monochromatic
#06041B #0D0839 #1A106E #2718A3 #3320D9

Accessibility & contrast

On white

15.63
#1A106E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1A106E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A106E
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A106E#FFFFFF#000000##FFFFFF
##1A106E1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002771
Deuteranopia (green-blind)
#001F6C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1a106e;
/* rgb */ color: rgb(26, 16, 110);
/* oklch */ color: oklch(27.4% 0.149 274.9);
Tailwind
colors: {
  custom: {
    50: '#675199',
    500: '#1a106e',
    950: '#000000',
  },
}
SCSS
$custom: #1a106e;
$custom-light: #675199;
$custom-dark: #000000;
JSON
{
  "hex": "#1a106e",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 110
  },
  "hsl": {
    "h": 246.383,
    "s": 74.603,
    "l": 24.706
  },
  "oklch": {
    "l": 0.274,
    "c": 0.1494,
    "h": 274.9
  },
  "luminance": 0.01716
}

Semantic roles & 50–950 ramp

primary
#1A106E
secondary
#9AA634
accent
#F137DD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A106E

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

Preview Lab → · Contrast checker → · Palette generator →

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