#1B1B60#1B1B60

#1B1B60 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.119 H 275.3°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#1B1B60
RGBrgb(27, 27, 96)
HSLhsl(240, 56%, 24%)
HSVhsv(240, 72%, 38%)
CMYKcmyk(71.9%, 71.9%, 0%, 62.4%)
CIE-LABlab(14.74, 24.71, -40.90)
CIE-LCHlch(14.74, 47.78, 301.14°)
OKLaboklab(27.53% 0.011 -0.1181)
OKLCHoklch(27.53% 0.119 275.3)
XYZxyz(2.9546, 1.8611, 11.2676)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1B60 #60601B
analogous
#1B3E60 #1B1B60 #3E1B60
triadic
#1B1B60 #601B1B #1B601B
tetradic
#1B1B60 #601B3E #60601B #1B603E
square
#1B1B60 #601B3E #60601B #1B603E
split-complementary
#1B1B60 #603E1B #3E601B
monochromatic
#070718 #0E0E30 #1B1B60 #282890 #3636C0

Accessibility & contrast

On white

15.30
#1B1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1B1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1B60
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1B60#FFFFFF#000000##FFFFFF
##1B1B601.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1b1b60;
/* rgb */ color: rgb(27, 27, 96);
/* oklch */ color: oklch(27.5% 0.119 275.3);
Tailwind
colors: {
  custom: {
    50: '#62578e',
    500: '#1b1b60',
    950: '#000000',
  },
}
SCSS
$custom: #1b1b60;
$custom-light: #62578e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1b60",
  "rgb": {
    "r": 27,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 240,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27528,
    "c": 0.11859,
    "h": 275.3
  },
  "luminance": 0.01861
}

Semantic roles & 50–950 ramp

primary
#1B1B60
secondary
#969641
accent
#DF48DF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1B1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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