#1B2984#1B2984

#1B2984 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.152 H 269.2°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#1B2984
RGBrgb(27, 41, 132)
HSLhsl(232, 66%, 31%)
HSVhsv(232, 80%, 52%)
CMYKcmyk(79.5%, 68.9%, 0%, 48.2%)
CIE-LABlab(21.89, 29.01, -52.41)
CIE-LCHlch(21.89, 59.91, 298.96°)
OKLaboklab(33.82% -0.0021 -0.1517)
OKLCHoklch(33.82% 0.152 269.2)
XYZxyz(5.4084, 3.4842, 22.2128)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2984 #84761B
analogous
#1B5D84 #1B2984 #411B84
triadic
#1B2984 #841B29 #29841B
tetradic
#1B2984 #841B5D #84761B #1B8441
square
#1B2984 #841B5D #84761B #1B8441
split-complementary
#1B2984 #84411B #5D841B
monochromatic
#06091E #111951 #1B2984 #2539B7 #4155D8

Accessibility & contrast

On white

12.37
#1B2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1B2984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2984
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2984#FFFFFF#000000##FFFFFF
##1B29841.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2984;
/* rgb */ color: rgb(27, 41, 132);
/* oklch */ color: oklch(33.8% 0.152 269.2);
Tailwind
colors: {
  custom: {
    50: '#6a63a9',
    500: '#1b2984',
    950: '#000000',
  },
}
SCSS
$custom: #1b2984;
$custom-light: #6a63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2984",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 232,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33824,
    "c": 0.15172,
    "h": 269.2
  },
  "luminance": 0.03485
}

Semantic roles & 50–950 ramp

primary
#1B2984
secondary
#B7A843
accent
#D23FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2984

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

Preview Lab → · Contrast checker → · Palette generator →

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