#1B1973#1B1973

#1B1973 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.147 H 273.5°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#1B1973
RGBrgb(27, 25, 115)
HSLhsl(241, 64%, 27%)
HSVhsv(241, 78%, 45%)
CMYKcmyk(76.5%, 78.3%, 0%, 54.9%)
CIE-LABlab(16.33, 32.98, -50.73)
CIE-LCHlch(16.33, 60.51, 303.03°)
OKLaboklab(29.29% 0.0089 -0.1468)
OKLCHoklch(29.29% 0.147 273.5)
XYZxyz(3.8931, 2.1657, 16.4292)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1973 #717319
analogous
#194473 #1B1973 #481973
triadic
#1B1973 #731B19 #19731B
tetradic
#1B1973 #731944 #717319 #197348
square
#1B1973 #731944 #717319 #197348
split-complementary
#1B1973 #734819 #447319
monochromatic
#060519 #0F0E41 #1B1973 #2724A5 #3734D3

Accessibility & contrast

On white

14.65
#1B1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1B1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1973
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1973#FFFFFF#000000##FFFFFF
##1B19731.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002471
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b1973;
/* rgb */ color: rgb(27, 25, 115);
/* oklch */ color: oklch(29.3% 0.147 273.5);
Tailwind
colors: {
  custom: {
    50: '#67579c',
    500: '#1b1973',
    950: '#000000',
  },
}
SCSS
$custom: #1b1973;
$custom-light: #67579c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1973",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 241.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29287,
    "c": 0.14703,
    "h": 273.5
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#1B1973
secondary
#A6A840
accent
#E741E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B1973

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

Preview Lab → · Contrast checker → · Palette generator →

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