#101257#101257

#101257 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.2% C 0.120 H 271.8°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#101257
RGBrgb(16, 18, 87)
HSLhsl(238, 69%, 20%)
HSVhsv(238, 82%, 34%)
CMYKcmyk(81.6%, 79.3%, 0%, 65.9%)
CIE-LABlab(10.78, 25.96, -41.39)
CIE-LCHlch(10.78, 48.86, 302.10°)
OKLaboklab(24.18% 0.0038 -0.1198)
OKLCHoklch(24.18% 0.12 271.8)
XYZxyz(2.1497, 1.2307, 9.1392)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101257 #575510
analogous
#103557 #101257 #311057
triadic
#101257 #571012 #125710
tetradic
#101257 #571035 #575510 #105731
square
#101257 #571035 #575510 #105731
split-complementary
#101257 #573110 #355710
monochromatic
#05051A #060723 #101257 #1A1D8B #2327BE

Accessibility & contrast

On white

16.85
#101257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#101257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101257
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101257#FFFFFF#000000##FFFFFF
##1012571.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002059
Deuteranopia (green-blind)
#001A56
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #101257;
/* rgb */ color: rgb(16, 18, 87);
/* oklch */ color: oklch(24.2% 0.120 271.8);
Tailwind
colors: {
  custom: {
    50: '#5c5087',
    500: '#101257',
    950: '#000000',
  },
}
SCSS
$custom: #101257;
$custom-light: #5c5087;
$custom-dark: #000000;
JSON
{
  "hex": "#101257",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 238.31,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24182,
    "c": 0.11988,
    "h": 271.8
  },
  "luminance": 0.01231
}

Semantic roles & 50–950 ramp

primary
#101257
secondary
#908E32
accent
#E73CEC
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #101257

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

Preview Lab → · Contrast checker → · Palette generator →

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