#1B1972#1B1972

#1B1972 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.146 H 273.6°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#1B1972
RGBrgb(27, 25, 114)
HSLhsl(241, 64%, 27%)
HSVhsv(241, 78%, 45%)
CMYKcmyk(76.3%, 78.1%, 0%, 55.3%)
CIE-LABlab(16.22, 32.63, -50.27)
CIE-LCHlch(16.22, 59.93, 302.99°)
OKLaboklab(29.17% 0.0091 -0.1454)
OKLCHoklch(29.17% 0.146 273.6)
XYZxyz(3.8359, 2.1428, 16.1278)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1972 #707219
analogous
#194472 #1B1972 #471972
triadic
#1B1972 #721B19 #19721B
tetradic
#1B1972 #721944 #707219 #197247
square
#1B1972 #721944 #707219 #197247
split-complementary
#1B1972 #724719 #447219
monochromatic
#060619 #0F0E40 #1B1972 #2724A4 #3733D2

Accessibility & contrast

On white

14.70
#1B1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1972
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1972#FFFFFF#000000##FFFFFF
##1B19721.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b1972;
/* rgb */ color: rgb(27, 25, 114);
/* oklch */ color: oklch(29.2% 0.146 273.6);
Tailwind
colors: {
  custom: {
    50: '#67579c',
    500: '#1b1972',
    950: '#000000',
  },
}
SCSS
$custom: #1b1972;
$custom-light: #67579c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1972",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 241.348,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29172,
    "c": 0.14572,
    "h": 273.6
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#1B1972
secondary
#A5A740
accent
#E741E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B1972

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

Preview Lab → · Contrast checker → · Palette generator →

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