#10177E#10177E

#10177E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.166 H 268.3°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#10177E
RGBrgb(16, 23, 126)
HSLhsl(236, 77%, 28%)
HSVhsv(236, 87%, 49%)
CMYKcmyk(87.3%, 81.7%, 0%, 50.6%)
CIE-LABlab(16.64, 37.24, -57.29)
CIE-LCHlch(16.64, 68.33, 303.02°)
OKLaboklab(29.73% -0.0051 -0.166)
OKLCHoklch(29.73% 0.166 268.3)
XYZxyz(4.2847, 2.2288, 19.9390)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10177E #7E7710
analogous
#104E7E #10177E #40107E
triadic
#10177E #7E1017 #177E10
tetradic
#10177E #7E104E #7E7710 #107E40
square
#10177E #7E104E #7E7710 #107E40
split-complementary
#10177E #7E4010 #4E7E10
monochromatic
#03051B #090D48 #10177E #1721B4 #2531E3

Accessibility & contrast

On white

14.52
#10177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#10177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10177E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10177E#FFFFFF#000000##FFFFFF
##10177E1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #10177e;
/* rgb */ color: rgb(16, 23, 126);
/* oklch */ color: oklch(29.7% 0.166 268.3);
Tailwind
colors: {
  custom: {
    50: '#6856a5',
    500: '#10177e',
    950: '#000000',
  },
}
SCSS
$custom: #10177e;
$custom-light: #6856a5;
$custom-dark: #000000;
JSON
{
  "hex": "#10177e",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 236.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29728,
    "c": 0.16607,
    "h": 268.3
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#10177E
secondary
#B4AC36
accent
#E834F4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #10177E

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

Preview Lab → · Contrast checker → · Palette generator →

#10177E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva