#1B2B84#1B2B84

#1B2B84 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.149 H 268.8°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1B2B84
RGBrgb(27, 43, 132)
HSLhsl(231, 66%, 31%)
HSVhsv(231, 80%, 52%)
CMYKcmyk(79.5%, 67.4%, 0%, 48.2%)
CIE-LABlab(22.39, 27.66, -51.58)
CIE-LCHlch(22.39, 58.53, 298.20°)
OKLaboklab(34.2% -0.0032 -0.1493)
OKLCHoklch(34.2% 0.149 268.8)
XYZxyz(5.4793, 3.6261, 22.2365)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B84 #84741B
analogous
#1B5F84 #1B2B84 #3F1B84
triadic
#1B2B84 #841B2B #2B841B
tetradic
#1B2B84 #841B5F #84741B #1B843F
square
#1B2B84 #841B5F #84741B #1B843F
split-complementary
#1B2B84 #843F1B #5F841B
monochromatic
#060A1E #111A51 #1B2B84 #253CB7 #4158D8

Accessibility & contrast

On white

12.17
#1B2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1B2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B84
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B84#FFFFFF#000000##FFFFFF
##1B2B841.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b2b84;
/* rgb */ color: rgb(27, 43, 132);
/* oklch */ color: oklch(34.2% 0.149 268.8);
Tailwind
colors: {
  custom: {
    50: '#6a64a9',
    500: '#1b2b84',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b84;
$custom-light: #6a64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b84",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 230.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34195,
    "c": 0.1493,
    "h": 268.8
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#1B2B84
secondary
#B7A643
accent
#CF3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1B2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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