#1B2183#1B2183

#1B2183 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.160 H 270.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#1B2183
RGBrgb(27, 33, 131)
HSLhsl(237, 66%, 31%)
HSVhsv(237, 79%, 51%)
CMYKcmyk(79.4%, 74.8%, 0%, 48.6%)
CIE-LABlab(19.88, 33.83, -55.09)
CIE-LCHlch(19.88, 64.65, 301.55°)
OKLaboklab(32.34% 0.0022 -0.1595)
OKLCHoklch(32.34% 0.16 270.8)
XYZxyz(5.0912, 2.9589, 21.7711)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2183 #837D1B
analogous
#1B5583 #1B2183 #491B83
triadic
#1B2183 #831B21 #21831B
tetradic
#1B2183 #831B55 #837D1B #1B8349
square
#1B2183 #831B55 #837D1B #1B8349
split-complementary
#1B2183 #83491B #55831B
monochromatic
#06071E #111450 #1B2183 #252EB6 #4149D8

Accessibility & contrast

On white

13.19
#1B2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2183
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2183#FFFFFF#000000##FFFFFF
##1B21831.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2183;
/* rgb */ color: rgb(27, 33, 131);
/* oklch */ color: oklch(32.3% 0.160 270.8);
Tailwind
colors: {
  custom: {
    50: '#6b5da8',
    500: '#1b2183',
    950: '#000000',
  },
}
SCSS
$custom: #1b2183;
$custom-light: #6b5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2183",
  "rgb": {
    "r": 27,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 236.538,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32342,
    "c": 0.15953,
    "h": 270.8
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B2183

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

Preview Lab → · Contrast checker → · Palette generator →

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