#1B2184#1B2184

#1B2184 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.161 H 270.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#1B2184
RGBrgb(27, 33, 132)
HSLhsl(237, 66%, 31%)
HSVhsv(237, 80%, 52%)
CMYKcmyk(79.5%, 75%, 0%, 48.2%)
CIE-LABlab(19.99, 34.19, -55.54)
CIE-LCHlch(19.99, 65.22, 301.62°)
OKLaboklab(32.45% 0.002 -0.1608)
OKLCHoklch(32.45% 0.161 270.7)
XYZxyz(5.1593, 2.9861, 22.1298)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2184 #847E1B
analogous
#1B5584 #1B2184 #491B84
triadic
#1B2184 #841B21 #21841B
tetradic
#1B2184 #841B55 #847E1B #1B8449
square
#1B2184 #841B55 #847E1B #1B8449
split-complementary
#1B2184 #84491B #55841B
monochromatic
#06081E #111451 #1B2184 #252EB7 #414AD8

Accessibility & contrast

On white

13.15
#1B2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2184
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2184#FFFFFF#000000##FFFFFF
##1B21841.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2184;
/* rgb */ color: rgb(27, 33, 132);
/* oklch */ color: oklch(32.5% 0.161 270.7);
Tailwind
colors: {
  custom: {
    50: '#6b5da9',
    500: '#1b2184',
    950: '#000000',
  },
}
SCSS
$custom: #1b2184;
$custom-light: #6b5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2184",
  "rgb": {
    "r": 27,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 236.571,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32453,
    "c": 0.16084,
    "h": 270.7
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#1B2184
secondary
#B7B143
accent
#DF3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B2184

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

Preview Lab → · Contrast checker → · Palette generator →

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