#1B169F#1B169F

#1B169F is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.3% C 0.203 H 269.9°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#1B169F
RGBrgb(27, 22, 159)
HSLhsl(242, 76%, 35%)
HSVhsv(242, 86%, 62%)
CMYKcmyk(83%, 86.2%, 0%, 37.6%)
CIE-LABlab(21.24, 49.01, -70.22)
CIE-LCHlch(21.24, 85.63, 304.91°)
OKLaboklab(34.27% -0.0004 -0.2032)
OKLCHoklch(34.27% 0.203 269.9)
XYZxyz(6.9948, 3.3092, 33.0642)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B169F #9A9F16
analogous
#16559F #1B169F #5F169F
triadic
#1B169F #9F1B16 #169F1B
tetradic
#1B169F #9F1655 #9A9F16 #169F5F
square
#1B169F #9F1655 #9A9F16 #169F5F
split-complementary
#1B169F #9F5F16 #559F16
monochromatic
#090733 #120F69 #1B169F #241DD5 #4F4AE6

Accessibility & contrast

On white

12.64
#1B169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1B169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B169F
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B169F#FFFFFF#000000##FFFFFF
##1B169F1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002C9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b169f;
/* rgb */ color: rgb(27, 22, 159);
/* oklch */ color: oklch(34.3% 0.203 269.9);
Tailwind
colors: {
  custom: {
    50: '#7359bd',
    500: '#1b169f',
    950: '#000000',
  },
}
SCSS
$custom: #1b169f;
$custom-light: #7359bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b169f",
  "rgb": {
    "r": 27,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 242.19,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34272,
    "c": 0.20319,
    "h": 269.9
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#1B169F
secondary
#C3C74A
accent
#F236EB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B169F

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

Preview Lab → · Contrast checker → · Palette generator →

#1B169F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva