#102662#102662

#102662 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.110 H 264.9°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#102662
RGBrgb(16, 38, 98)
HSLhsl(224, 72%, 22%)
HSVhsv(224, 84%, 38%)
CMYKcmyk(83.7%, 61.2%, 0%, 61.6%)
CIE-LABlab(17.36, 16.15, -37.97)
CIE-LCHlch(17.36, 41.26, 293.04°)
OKLaboklab(29.35% -0.0097 -0.1096)
OKLCHoklch(29.35% 0.11 264.9)
XYZxyz(3.1106, 2.3779, 11.8479)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102662 #624C10
analogous
#104F62 #102662 #231062
triadic
#102662 #621026 #266210
tetradic
#102662 #62104F #624C10 #106223
square
#102662 #62104F #624C10 #106223
split-complementary
#102662 #622310 #4F6210
monochromatic
#040A1A #07122D #102662 #193A97 #214FCB

Accessibility & contrast

On white

14.23
#102662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#102662 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102662
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102662#FFFFFF#000000##FFFFFF
##1026621.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F64
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #102662;
/* rgb */ color: rgb(16, 38, 98);
/* oklch */ color: oklch(29.3% 0.110 264.9);
Tailwind
colors: {
  custom: {
    50: '#5e5f8f',
    500: '#102662',
    950: '#000000',
  },
}
SCSS
$custom: #102662;
$custom-light: #5e5f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#102662",
  "rgb": {
    "r": 16,
    "g": 38,
    "b": 98
  },
  "hsl": {
    "h": 223.902,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29348,
    "c": 0.11008,
    "h": 264.9
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#102662
secondary
#9B7F33
accent
#BE39EF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #102662

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

Preview Lab → · Contrast checker → · Palette generator →

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