#1B1670#1B1670

#1B1670 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.146 H 274.3°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#1B1670
RGBrgb(27, 22, 112)
HSLhsl(243, 67%, 26%)
HSVhsv(243, 80%, 44%)
CMYKcmyk(75.9%, 80.4%, 0%, 56.1%)
CIE-LABlab(15.36, 33.70, -50.39)
CIE-LCHlch(15.36, 60.62, 303.78°)
OKLaboklab(28.5% 0.0111 -0.1457)
OKLCHoklch(28.5% 0.146 274.3)
XYZxyz(3.6626, 1.9763, 15.5145)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1670 #6B7016
analogous
#163E70 #1B1670 #481670
triadic
#1B1670 #701B16 #16701B
tetradic
#1B1670 #70163E #6B7016 #167048
square
#1B1670 #70163E #6B7016 #167048
split-complementary
#1B1670 #704816 #3E7016
monochromatic
#06051A #0F0C3D #1B1670 #2720A3 #342BD5

Accessibility & contrast

On white

15.05
#1B1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1B1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1670
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1670#FFFFFF#000000##FFFFFF
##1B16701.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b1670;
/* rgb */ color: rgb(27, 22, 112);
/* oklch */ color: oklch(28.5% 0.146 274.3);
Tailwind
colors: {
  custom: {
    50: '#67559a',
    500: '#1b1670',
    950: '#000000',
  },
}
SCSS
$custom: #1b1670;
$custom-light: #67559a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1670",
  "rgb": {
    "r": 27,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 243.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28498,
    "c": 0.14617,
    "h": 274.3
  },
  "luminance": 0.01977
}

Semantic roles & 50–950 ramp

primary
#1B1670
secondary
#A0A63C
accent
#EA3EE0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B1670

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

Preview Lab → · Contrast checker → · Palette generator →

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