#101248#101248

#101248 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.098 H 273.6°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#101248
RGBrgb(16, 18, 72)
HSLhsl(238, 64%, 17%)
HSVhsv(238, 78%, 28%)
CMYKcmyk(77.8%, 75%, 0%, 71.8%)
CIE-LABlab(9.08, 20.03, -33.87)
CIE-LCHlch(9.08, 39.35, 300.59°)
OKLaboklab(22.45% 0.0062 -0.0979)
OKLCHoklch(22.45% 0.098 273.6)
XYZxyz(1.5993, 1.0105, 6.2404)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101248 #484610
analogous
#102E48 #101248 #2A1048
triadic
#101248 #481012 #124810
tetradic
#101248 #48102E #484610 #10482A
square
#101248 #48102E #484610 #10482A
split-complementary
#101248 #482A10 #2E4810
monochromatic
#060619 #060619 #101248 #1B1F7A #262BAC

Accessibility & contrast

On white

17.47
#101248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#101248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101248
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101248#FFFFFF#000000##FFFFFF
##1012481.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001747
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #101248;
/* rgb */ color: rgb(16, 18, 72);
/* oklch */ color: oklch(22.4% 0.098 273.6);
Tailwind
colors: {
  custom: {
    50: '#58507c',
    500: '#101248',
    950: '#000000',
  },
}
SCSS
$custom: #101248;
$custom-light: #58507c;
$custom-dark: #000000;
JSON
{
  "hex": "#101248",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 237.857,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22445,
    "c": 0.09806,
    "h": 273.6
  },
  "luminance": 0.01011
}

Semantic roles & 50–950 ramp

primary
#101248
secondary
#827F32
accent
#E141E7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #101248

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

Preview Lab → · Contrast checker → · Palette generator →

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