#101254#101254

#101254 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.116 H 272.1°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#101254
RGBrgb(16, 18, 84)
HSLhsl(238, 68%, 20%)
HSVhsv(238, 81%, 33%)
CMYKcmyk(81%, 78.6%, 0%, 67.1%)
CIE-LABlab(10.43, 24.80, -39.93)
CIE-LCHlch(10.43, 47.01, 301.84°)
OKLaboklab(23.83% 0.0043 -0.1156)
OKLCHoklch(23.83% 0.116 272.1)
XYZxyz(2.0297, 1.1827, 8.5071)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101254 #545210
analogous
#103454 #101254 #301054
triadic
#101254 #541012 #125410
tetradic
#101254 #541034 #545210 #105430
square
#101254 #541034 #545210 #105430
split-complementary
#101254 #543010 #345410
monochromatic
#05061A #060721 #101254 #1A1D87 #2428BB

Accessibility & contrast

On white

16.98
#101254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #101254
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101254#FFFFFF#000000##FFFFFF
##1012541.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001953
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #101254;
/* rgb */ color: rgb(16, 18, 84);
/* oklch */ color: oklch(23.8% 0.116 272.1);
Tailwind
colors: {
  custom: {
    50: '#5c5085',
    500: '#101254',
    950: '#000000',
  },
}
SCSS
$custom: #101254;
$custom-light: #5c5085;
$custom-dark: #000000;
JSON
{
  "hex": "#101254",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 238.235,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23825,
    "c": 0.11565,
    "h": 272.1
  },
  "luminance": 0.01183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #101254

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

Preview Lab → · Contrast checker → · Palette generator →

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