#1A166F#1A166F

#1A166F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.145 H 273.9°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#1A166F
RGBrgb(26, 22, 111)
HSLhsl(243, 67%, 26%)
HSVhsv(243, 80%, 44%)
CMYKcmyk(76.6%, 80.2%, 0%, 56.5%)
CIE-LABlab(15.17, 33.25, -50.05)
CIE-LCHlch(15.17, 60.09, 303.60°)
OKLaboklab(28.31% 0.0099 -0.1448)
OKLCHoklch(28.31% 0.145 273.9)
XYZxyz(3.5812, 1.9408, 15.2217)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A166F #6B6F16
analogous
#163E6F #1A166F #46166F
triadic
#1A166F #6F1A16 #166F1A
tetradic
#1A166F #6F163E #6B6F16 #166F46
square
#1A166F #6F163E #6B6F16 #166F46
split-complementary
#1A166F #6F4616 #3E6F16
monochromatic
#06051A #0E0C3C #1A166F #2620A2 #322BD5

Accessibility & contrast

On white

15.13
#1A166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1A166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A166F
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A166F#FFFFFF#000000##FFFFFF
##1A166F1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a166f;
/* rgb */ color: rgb(26, 22, 111);
/* oklch */ color: oklch(28.3% 0.145 273.9);
Tailwind
colors: {
  custom: {
    50: '#665599',
    500: '#1a166f',
    950: '#000000',
  },
}
SCSS
$custom: #1a166f;
$custom-light: #665599;
$custom-dark: #000000;
JSON
{
  "hex": "#1a166f",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 242.697,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28312,
    "c": 0.14514,
    "h": 273.9
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#1A166F
secondary
#A0A53C
accent
#EA3EE2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A166F

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

Preview Lab → · Contrast checker → · Palette generator →

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