#1B2160#1B2160

#1B2160 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.111 H 273.0°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#1B2160
RGBrgb(27, 33, 96)
HSLhsl(235, 56%, 24%)
HSVhsv(235, 72%, 38%)
CMYKcmyk(71.9%, 65.6%, 0%, 62.4%)
CIE-LABlab(16.33, 20.51, -38.30)
CIE-LCHlch(16.33, 43.44, 298.17°)
OKLaboklab(28.69% 0.0059 -0.1104)
OKLCHoklch(28.69% 0.111 273)
XYZxyz(3.1065, 2.1650, 11.3182)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2160 #605A1B
analogous
#1B4460 #1B2160 #381B60
triadic
#1B2160 #601B21 #21601B
tetradic
#1B2160 #601B44 #605A1B #1B6038
square
#1B2160 #601B44 #605A1B #1B6038
split-complementary
#1B2160 #60381B #44601B
monochromatic
#070818 #0E1130 #1B2160 #283190 #3642C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B2160#FFFFFF#000000##FFFFFF
##1B21601.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)
#002C62
Deuteranopia (green-blind)
#00255F
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b2160;
/* rgb */ color: rgb(27, 33, 96);
/* oklch */ color: oklch(28.7% 0.111 273.0);
Tailwind
colors: {
  custom: {
    50: '#625c8e',
    500: '#1b2160',
    950: '#000000',
  },
}
SCSS
$custom: #1b2160;
$custom-light: #625c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2160",
  "rgb": {
    "r": 27,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 234.783,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28689,
    "c": 0.11058,
    "h": 273
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#1B2160
secondary
#968E41
accent
#D248DF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1B2160

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

Preview Lab → · Contrast checker → · Palette generator →

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