#101240#101240

#101240 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.086 H 274.7°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#101240
RGBrgb(16, 18, 64)
HSLhsl(238, 60%, 16%)
HSVhsv(238, 75%, 25%)
CMYKcmyk(75%, 71.9%, 0%, 74.9%)
CIE-LABlab(8.24, 16.75, -29.60)
CIE-LCHlch(8.24, 34.01, 299.50°)
OKLaboklab(21.58% 0.007 -0.0854)
OKLCHoklch(21.58% 0.086 274.7)
XYZxyz(1.3551, 0.9128, 4.9543)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101240 #403E10
analogous
#102A40 #101240 #261040
triadic
#101240 #401012 #124010
tetradic
#101240 #40102A #403E10 #104026
square
#101240 #40102A #403E10 #104026
split-complementary
#101240 #402610 #2A4010
monochromatic
#060718 #060718 #101240 #1C2071 #282EA2

Accessibility & contrast

On white

17.76
#101240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#101240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101240
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101240#FFFFFF#000000##FFFFFF
##1012401.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A41
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #101240;
/* rgb */ color: rgb(16, 18, 64);
/* oklch */ color: oklch(21.6% 0.086 274.7);
Tailwind
colors: {
  custom: {
    50: '#564f75',
    500: '#101240',
    950: '#000000',
  },
}
SCSS
$custom: #101240;
$custom-light: #564f75;
$custom-dark: #000000;
JSON
{
  "hex": "#101240",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 237.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21579,
    "c": 0.08566,
    "h": 274.7
  },
  "luminance": 0.00913
}

Semantic roles & 50–950 ramp

primary
#101240
secondary
#7A7732
accent
#DD45E3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #101240

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

Preview Lab → · Contrast checker → · Palette generator →

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