#102766#102766

#102766 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.115 H 264.9°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#102766
RGBrgb(16, 39, 102)
HSLhsl(224, 73%, 23%)
HSVhsv(224, 84%, 40%)
CMYKcmyk(84.3%, 61.8%, 0%, 60%)
CIE-LABlab(18.01, 17.12, -39.54)
CIE-LCHlch(18.01, 43.09, 293.42°)
OKLaboklab(29.95% -0.0102 -0.1142)
OKLCHoklch(29.95% 0.115 264.9)
XYZxyz(3.3366, 2.5201, 12.8784)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102766 #664F10
analogous
#105266 #102766 #241066
triadic
#102766 #661027 #276610
tetradic
#102766 #661052 #664F10 #106624
square
#102766 #661052 #664F10 #106624
split-complementary
#102766 #662410 #526610
monochromatic
#040A1A #081331 #102766 #183B9B #214FD0

Accessibility & contrast

On white

13.96
#102766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#102766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102766
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102766#FFFFFF#000000##FFFFFF
##1027661.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003068
Deuteranopia (green-blind)
#002865
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #102766;
/* rgb */ color: rgb(16, 39, 102);
/* oklch */ color: oklch(29.9% 0.115 264.9);
Tailwind
colors: {
  custom: {
    50: '#5f6092',
    500: '#102766',
    950: '#000000',
  },
}
SCSS
$custom: #102766;
$custom-light: #5f6092;
$custom-dark: #000000;
JSON
{
  "hex": "#102766",
  "rgb": {
    "r": 16,
    "g": 39,
    "b": 102
  },
  "hsl": {
    "h": 223.953,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29948,
    "c": 0.1147,
    "h": 264.9
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#102766
secondary
#9E8233
accent
#BF38F0
background
#F5F5F9
surface
#EAE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #102766

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

Preview Lab → · Contrast checker → · Palette generator →

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