#101242#101242

#101242 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.089 H 274.4°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#101242
RGBrgb(16, 18, 66)
HSLhsl(238, 61%, 16%)
HSVhsv(238, 76%, 26%)
CMYKcmyk(75.8%, 72.7%, 0%, 74.1%)
CIE-LABlab(8.45, 17.57, -30.69)
CIE-LCHlch(8.45, 35.36, 299.79°)
OKLaboklab(21.79% 0.0068 -0.0885)
OKLCHoklch(21.79% 0.089 274.4)
XYZxyz(1.4130, 0.9360, 5.2594)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101242 #424010
analogous
#102B42 #101242 #271042
triadic
#101242 #421012 #124210
tetradic
#101242 #42102B #424010 #104227
square
#101242 #42102B #424010 #104227
split-complementary
#101242 #422710 #2B4210
monochromatic
#060719 #060719 #101242 #1C1F73 #282DA5

Accessibility & contrast

On white

17.69
#101242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#101242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101242
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101242#FFFFFF#000000##FFFFFF
##1012421.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001641
Tritanopia (blue-blind)
#001E28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #101242;
/* rgb */ color: rgb(16, 18, 66);
/* oklch */ color: oklch(21.8% 0.089 274.4);
Tailwind
colors: {
  custom: {
    50: '#564f77',
    500: '#101242',
    950: '#000000',
  },
}
SCSS
$custom: #101242;
$custom-light: #564f77;
$custom-dark: #000000;
JSON
{
  "hex": "#101242",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 237.6,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21791,
    "c": 0.08881,
    "h": 274.4
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#101242
secondary
#7C7932
accent
#DE44E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #101242

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

Preview Lab → · Contrast checker → · Palette generator →

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