#102862#102862

#102862 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.107 H 264.0°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#102862
RGBrgb(16, 40, 98)
HSLhsl(222, 72%, 22%)
HSVhsv(222, 84%, 38%)
CMYKcmyk(83.7%, 59.2%, 0%, 61.6%)
CIE-LABlab(17.96, 14.67, -36.99)
CIE-LCHlch(17.96, 39.79, 291.64°)
OKLaboklab(29.8% -0.0112 -0.1067)
OKLCHoklch(29.8% 0.107 264)
XYZxyz(3.1763, 2.5092, 11.8698)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102862 #624A10
analogous
#105162 #102862 #211062
triadic
#102862 #621028 #286210
tetradic
#102862 #621051 #624A10 #106221
square
#102862 #621051 #624A10 #106221
split-complementary
#102862 #622110 #516210
monochromatic
#040B1A #07132D #102862 #193D97 #2153CB

Accessibility & contrast

On white

13.98
#102862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #102862
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102862#FFFFFF#000000##FFFFFF
##1028621.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003064
Deuteranopia (green-blind)
#002861
Tritanopia (blue-blind)
#003640
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #102862;
/* rgb */ color: rgb(16, 40, 98);
/* oklch */ color: oklch(29.8% 0.107 264.0);
Tailwind
colors: {
  custom: {
    50: '#5d618f',
    500: '#102862',
    950: '#000000',
  },
}
SCSS
$custom: #102862;
$custom-light: #5d618f;
$custom-dark: #000000;
JSON
{
  "hex": "#102862",
  "rgb": {
    "r": 16,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 222.439,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29802,
    "c": 0.10732,
    "h": 264
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#102862
secondary
#9B7C33
accent
#BA39EF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #102862

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

Preview Lab → · Contrast checker → · Palette generator →

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