#101F4C#101F4C

#101F4C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.086 H 266.4°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#101F4C
RGBrgb(16, 31, 76)
HSLhsl(225, 65%, 18%)
HSVhsv(225, 79%, 30%)
CMYKcmyk(78.9%, 59.2%, 0%, 70.2%)
CIE-LABlab(13.30, 11.92, -29.76)
CIE-LCHlch(13.30, 32.06, 291.82°)
OKLaboklab(25.7% -0.0053 -0.0856)
OKLCHoklch(25.7% 0.086 266.4)
XYZxyz(2.0077, 1.6117, 7.0414)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101F4C #4C3D10
analogous
#103D4C #101F4C #1F104C
triadic
#101F4C #4C101F #1F4C10
tetradic
#101F4C #4C103D #4C3D10 #104C1F
square
#101F4C #4C103D #4C3D10 #104C1F
split-complementary
#101F4C #4C1F10 #3D4C10
monochromatic
#050A19 #050A19 #101F4C #1B347F #2548B1

Accessibility & contrast

On white

15.88
#101F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#101F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101F4C
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101F4C#FFFFFF#000000##FFFFFF
##101F4C1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01254E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #101f4c;
/* rgb */ color: rgb(16, 31, 76);
/* oklch */ color: oklch(25.7% 0.086 266.4);
Tailwind
colors: {
  custom: {
    50: '#585a7e',
    500: '#101f4c',
    950: '#000000',
  },
}
SCSS
$custom: #101f4c;
$custom-light: #585a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#101f4c",
  "rgb": {
    "r": 16,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 225,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25695,
    "c": 0.08581,
    "h": 266.4
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#101F4C
secondary
#867132
accent
#BE40E8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #101F4C

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

Preview Lab → · Contrast checker → · Palette generator →

#101F4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva