#102142#102142

#102142 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.3% C 0.066 H 262.2°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#102142
RGBrgb(16, 33, 66)
HSLhsl(220, 61%, 16%)
HSVhsv(220, 76%, 26%)
CMYKcmyk(75.8%, 50%, 0%, 74.1%)
CIE-LABlab(13.18, 6.04, -23.04)
CIE-LCHlch(13.18, 23.81, 284.68°)
OKLaboklab(25.35% -0.009 -0.0658)
OKLCHoklch(25.35% 0.066 262.2)
XYZxyz(1.7406, 1.5910, 5.3686)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102142 #423110
analogous
#103A42 #102142 #181042
triadic
#102142 #421021 #214210
tetradic
#102142 #42103A #423110 #104218
square
#102142 #42103A #423110 #104218
split-complementary
#102142 #421810 #3A4210
monochromatic
#060C19 #060C19 #102142 #1C3A73 #2852A5

Accessibility & contrast

On white

15.93
#102142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#102142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102142
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102142#FFFFFF#000000##FFFFFF
##1021421.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112443
Deuteranopia (green-blind)
#082041
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #102142;
/* rgb */ color: rgb(16, 33, 66);
/* oklch */ color: oklch(25.3% 0.066 262.2);
Tailwind
colors: {
  custom: {
    50: '#555b76',
    500: '#102142',
    950: '#000000',
  },
}
SCSS
$custom: #102142;
$custom-light: #555b76;
$custom-dark: #000000;
JSON
{
  "hex": "#102142",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 219.6,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25348,
    "c": 0.06644,
    "h": 262.2
  },
  "luminance": 0.01591
}

Semantic roles & 50–950 ramp

primary
#102142
secondary
#7C6332
accent
#AE44E4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #102142

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

Preview Lab → · Contrast checker → · Palette generator →

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