#1B1475#1B1475

#1B1475 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.154 H 274.0°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#1B1475
RGBrgb(27, 20, 117)
HSLhsl(244, 71%, 27%)
HSVhsv(244, 83%, 46%)
CMYKcmyk(76.9%, 82.9%, 0%, 54.1%)
CIE-LABlab(15.58, 36.52, -53.27)
CIE-LCHlch(15.58, 64.59, 304.43°)
OKLaboklab(28.83% 0.0107 -0.1541)
OKLCHoklch(28.83% 0.154 274)
XYZxyz(3.9120, 2.0173, 17.0094)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1475 #6E7514
analogous
#143E75 #1B1475 #4C1475
triadic
#1B1475 #751B14 #14751B
tetradic
#1B1475 #75143E #6E7514 #14754C
square
#1B1475 #75143E #6E7514 #14754C
split-complementary
#1B1475 #754C14 #3E7514
monochromatic
#06041A #0F0B41 #1B1475 #271DA9 #3629DA

Accessibility & contrast

On white

14.96
#1B1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1475
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1475#FFFFFF#000000##FFFFFF
##1B14751.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1b1475;
/* rgb */ color: rgb(27, 20, 117);
/* oklch */ color: oklch(28.8% 0.154 274.0);
Tailwind
colors: {
  custom: {
    50: '#68549e',
    500: '#1b1475',
    950: '#000000',
  },
}
SCSS
$custom: #1b1475;
$custom-light: #68549e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1475",
  "rgb": {
    "r": 27,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 244.33,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28825,
    "c": 0.15446,
    "h": 274
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#1B1475
secondary
#A3AB3A
accent
#EE3AE1
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B1475

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

Preview Lab → · Contrast checker → · Palette generator →

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