#101255#101255

#101255 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.117 H 272.0°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#101255
RGBrgb(16, 18, 85)
HSLhsl(238, 68%, 20%)
HSVhsv(238, 81%, 33%)
CMYKcmyk(81.2%, 78.8%, 0%, 66.7%)
CIE-LABlab(10.55, 25.19, -40.42)
CIE-LCHlch(10.55, 47.63, 301.93°)
OKLaboklab(23.94% 0.0041 -0.117)
OKLCHoklch(23.94% 0.117 272)
XYZxyz(2.0691, 1.1984, 8.7148)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101255 #555310
analogous
#103555 #101255 #311055
triadic
#101255 #551012 #125510
tetradic
#101255 #551035 #555310 #105531
square
#101255 #551035 #555310 #105531
split-complementary
#101255 #553110 #355510
monochromatic
#05051A #060721 #101255 #1A1D89 #2328BC

Accessibility & contrast

On white

16.94
#101255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#101255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101255
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101255#FFFFFF#000000##FFFFFF
##1012551.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001954
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #101255;
/* rgb */ color: rgb(16, 18, 85);
/* oklch */ color: oklch(23.9% 0.117 272.0);
Tailwind
colors: {
  custom: {
    50: '#5c5086',
    500: '#101255',
    950: '#000000',
  },
}
SCSS
$custom: #101255;
$custom-light: #5c5086;
$custom-dark: #000000;
JSON
{
  "hex": "#101255",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 238.261,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23943,
    "c": 0.11706,
    "h": 272
  },
  "luminance": 0.01199
}

Semantic roles & 50–950 ramp

primary
#101255
secondary
#8F8C32
accent
#E63DEB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #101255

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

Preview Lab → · Contrast checker → · Palette generator →

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