#102166#102166

#102166 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.7% C 0.123 H 267.1°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#102166
RGBrgb(16, 33, 102)
HSLhsl(228, 73%, 23%)
HSVhsv(228, 84%, 40%)
CMYKcmyk(84.3%, 67.6%, 0%, 60%)
CIE-LABlab(16.29, 21.51, -42.35)
CIE-LCHlch(16.29, 47.50, 296.93°)
OKLaboklab(28.67% -0.0062 -0.1226)
OKLCHoklch(28.67% 0.123 267.1)
XYZxyz(3.1550, 2.1568, 12.8178)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102166 #665510
analogous
#104C66 #102166 #2A1066
triadic
#102166 #661021 #216610
tetradic
#102166 #66104C #665510 #10662A
square
#102166 #66104C #665510 #10662A
split-complementary
#102166 #662A10 #4C6610
monochromatic
#04091A #081031 #102166 #18329B #2143D0

Accessibility & contrast

On white

14.67
#102166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#102166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102166
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102166#FFFFFF#000000##FFFFFF
##1021661.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #102166;
/* rgb */ color: rgb(16, 33, 102);
/* oklch */ color: oklch(28.7% 0.123 267.1);
Tailwind
colors: {
  custom: {
    50: '#5f5c92',
    500: '#102166',
    950: '#000000',
  },
}
SCSS
$custom: #102166;
$custom-light: #5f5c92;
$custom-dark: #000000;
JSON
{
  "hex": "#102166",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 228.14,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2867,
    "c": 0.12272,
    "h": 267.1
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#102166
secondary
#9E8933
accent
#CB38F0
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #102166

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

Preview Lab → · Contrast checker → · Palette generator →

#102166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva