#101F7E#101F7E

#101F7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.158 H 267.4°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#101F7E
RGBrgb(16, 31, 126)
HSLhsl(232, 77%, 28%)
HSVhsv(232, 87%, 49%)
CMYKcmyk(87.3%, 75.4%, 0%, 50.6%)
CIE-LABlab(18.35, 32.41, -54.47)
CIE-LCHlch(18.35, 63.38, 300.75°)
OKLaboklab(30.94% -0.0072 -0.1579)
OKLCHoklch(30.94% 0.158 267.4)
XYZxyz(4.4683, 2.5959, 20.0002)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101F7E #7E6F10
analogous
#10567E #101F7E #38107E
triadic
#101F7E #7E101F #1F7E10
tetradic
#101F7E #7E1056 #7E6F10 #107E38
square
#101F7E #7E1056 #7E6F10 #107E38
split-complementary
#101F7E #7E3810 #567E10
monochromatic
#03071B #091248 #101F7E #172CB4 #253FE3

Accessibility & contrast

On white

13.82
#101F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#101F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101F7E
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101F7E#FFFFFF#000000##FFFFFF
##101F7E1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #101f7e;
/* rgb */ color: rgb(16, 31, 126);
/* oklch */ color: oklch(30.9% 0.158 267.4);
Tailwind
colors: {
  custom: {
    50: '#675ba4',
    500: '#101f7e',
    950: '#000000',
  },
}
SCSS
$custom: #101f7e;
$custom-light: #675ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#101f7e",
  "rgb": {
    "r": 16,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 231.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30936,
    "c": 0.15807,
    "h": 267.4
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#101F7E
secondary
#B4A336
accent
#DA34F4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #101F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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