#1B1970#1B1970

#1B1970 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.143 H 273.8°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#1B1970
RGBrgb(27, 25, 112)
HSLhsl(241, 64%, 27%)
HSVhsv(241, 78%, 44%)
CMYKcmyk(75.9%, 77.7%, 0%, 56.1%)
CIE-LABlab(15.99, 31.91, -49.35)
CIE-LCHlch(15.99, 58.77, 302.89°)
OKLaboklab(28.94% 0.0095 -0.1427)
OKLCHoklch(28.94% 0.143 273.8)
XYZxyz(3.7233, 2.0978, 15.5348)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1970 #6E7019
analogous
#194370 #1B1970 #471970
triadic
#1B1970 #701B19 #19701B
tetradic
#1B1970 #701943 #6E7019 #197047
square
#1B1970 #701943 #6E7019 #197047
split-complementary
#1B1970 #704719 #437019
monochromatic
#060619 #0F0E3E #1B1970 #2724A2 #3632D1

Accessibility & contrast

On white

14.79
#1B1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1B1970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1970
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1970#FFFFFF#000000##FFFFFF
##1B19701.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b1970;
/* rgb */ color: rgb(27, 25, 112);
/* oklch */ color: oklch(28.9% 0.143 273.8);
Tailwind
colors: {
  custom: {
    50: '#67579a',
    500: '#1b1970',
    950: '#000000',
  },
}
SCSS
$custom: #1b1970;
$custom-light: #67579a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1970",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 241.379,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28943,
    "c": 0.14307,
    "h": 273.8
  },
  "luminance": 0.02098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B1970

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

Preview Lab → · Contrast checker → · Palette generator →

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