#1B1699#1B1699

#1B1699 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.196 H 270.3°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#1B1699
RGBrgb(27, 22, 153)
HSLhsl(242, 75%, 34%)
HSVhsv(242, 86%, 60%)
CMYKcmyk(82.4%, 85.6%, 0%, 40%)
CIE-LABlab(20.46, 47.16, -67.83)
CIE-LCHlch(20.46, 82.62, 304.81°)
OKLaboklab(33.52% 0.001 -0.1963)
OKLCHoklch(33.52% 0.196 270.3)
XYZxyz(6.4867, 3.1060, 30.3885)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1699 #949916
analogous
#165399 #1B1699 #5D1699
triadic
#1B1699 #991B16 #16991B
tetradic
#1B1699 #991653 #949916 #16995D
square
#1B1699 #991653 #949916 #16995D
split-complementary
#1B1699 #995D16 #539916
monochromatic
#08072E #120E63 #1B1699 #241ECF #4B45E4

Accessibility & contrast

On white

12.95
#1B1699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1B1699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1699
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1699#FFFFFF#000000##FFFFFF
##1B16991.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389C
Deuteranopia (green-blind)
#002A97
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b1699;
/* rgb */ color: rgb(27, 22, 153);
/* oklch */ color: oklch(33.5% 0.196 270.3);
Tailwind
colors: {
  custom: {
    50: '#7258b8',
    500: '#1b1699',
    950: '#000000',
  },
}
SCSS
$custom: #1b1699;
$custom-light: #7258b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1699",
  "rgb": {
    "r": 27,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 242.29,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33516,
    "c": 0.1963,
    "h": 270.3
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#1B1699
secondary
#C0C546
accent
#F136EA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B1699

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

Preview Lab → · Contrast checker → · Palette generator →

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