#101245#101245

#101245 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.093 H 274.0°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#101245
RGBrgb(16, 18, 69)
HSLhsl(238, 62%, 17%)
HSVhsv(238, 77%, 27%)
CMYKcmyk(76.8%, 73.9%, 0%, 72.9%)
CIE-LABlab(8.76, 18.80, -32.29)
CIE-LCHlch(8.76, 37.37, 300.21°)
OKLaboklab(22.12% 0.0065 -0.0932)
OKLCHoklch(22.12% 0.093 274)
XYZxyz(1.5038, 0.9723, 5.7375)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101245 #454310
analogous
#102D45 #101245 #291045
triadic
#101245 #451012 #124510
tetradic
#101245 #45102D #454310 #104529
square
#101245 #45102D #454310 #104529
split-complementary
#101245 #452910 #2D4510
monochromatic
#060619 #060619 #101245 #1C1F77 #272CA8

Accessibility & contrast

On white

17.58
#101245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#101245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101245
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101245#FFFFFF#000000##FFFFFF
##1012451.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001744
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #101245;
/* rgb */ color: rgb(16, 18, 69);
/* oklch */ color: oklch(22.1% 0.093 274.0);
Tailwind
colors: {
  custom: {
    50: '#574f79',
    500: '#101245',
    950: '#000000',
  },
}
SCSS
$custom: #101245;
$custom-light: #574f79;
$custom-dark: #000000;
JSON
{
  "hex": "#101245",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 237.736,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22115,
    "c": 0.09348,
    "h": 274
  },
  "luminance": 0.00972
}

Semantic roles & 50–950 ramp

primary
#101245
secondary
#7F7C32
accent
#DF42E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #101245

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

Preview Lab → · Contrast checker → · Palette generator →

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