#1B2C9E#1B2C9E

#1B2C9E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.182 H 268.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#1B2C9E
RGBrgb(27, 44, 158)
HSLhsl(232, 71%, 36%)
HSVhsv(232, 83%, 62%)
CMYKcmyk(82.9%, 72.2%, 0%, 38%)
CIE-LABlab(25.27, 36.80, -62.94)
CIE-LCHlch(25.27, 72.91, 300.31°)
OKLaboklab(37.07% -0.006 -0.1824)
OKLCHoklch(37.07% 0.182 268.1)
XYZxyz(7.5221, 4.5021, 32.8137)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C9E #9E8D1B
analogous
#1B6E9E #1B2C9E #4C1B9E
triadic
#1B2C9E #9E1B2C #2C9E1B
tetradic
#1B2C9E #9E1B6E #9E8D1B #1B9E4C
square
#1B2C9E #9E1B6E #9E8D1B #1B9E4C
split-complementary
#1B2C9E #9E4C1B #6E9E1B
monochromatic
#090F35 #121D6A #1B2C9E #243BD2 #5265E1

Accessibility & contrast

On white

11.05
#1B2C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1B2C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C9E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C9E#FFFFFF#000000##FFFFFF
##1B2C9E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b2c9e;
/* rgb */ color: rgb(27, 44, 158);
/* oklch */ color: oklch(37.1% 0.182 268.1);
Tailwind
colors: {
  custom: {
    50: '#7166bc',
    500: '#1b2c9e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c9e;
$custom-light: #7166bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c9e",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 232.214,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37074,
    "c": 0.18249,
    "h": 268.1
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#1B2C9E
secondary
#C4B551
accent
#D63AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1B2C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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