#101238#101238

#101238 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.073 H 275.8°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#101238
RGBrgb(16, 18, 56)
HSLhsl(237, 56%, 14%)
HSVhsv(237, 71%, 22%)
CMYKcmyk(71.4%, 67.9%, 0%, 78%)
CIE-LABlab(7.48, 13.36, -25.10)
CIE-LCHlch(7.48, 28.44, 298.02°)
OKLaboklab(20.77% 0.0073 -0.0722)
OKLCHoklch(20.77% 0.073 275.8)
XYZxyz(1.1436, 0.8282, 3.8402)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101238 #383610
analogous
#102638 #101238 #221038
triadic
#101238 #381012 #123810
tetradic
#101238 #381026 #383610 #103822
square
#101238 #381026 #383610 #103822
split-complementary
#101238 #382210 #263810
monochromatic
#070818 #070818 #101238 #1E2168 #2B3197

Accessibility & contrast

On white

18.02
#101238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#101238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101238
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101238#FFFFFF#000000##FFFFFF
##1012381.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#001537
Tritanopia (blue-blind)
#001B22
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #101238;
/* rgb */ color: rgb(16, 18, 56);
/* oklch */ color: oklch(20.8% 0.073 275.8);
Tailwind
colors: {
  custom: {
    50: '#534f6f',
    500: '#101238',
    950: '#000000',
  },
}
SCSS
$custom: #101238;
$custom-light: #534f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#101238",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 237,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20768,
    "c": 0.07258,
    "h": 275.8
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#101238
secondary
#726F32
accent
#D749DF
background
#F5F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #101238

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

Preview Lab → · Contrast checker → · Palette generator →

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