#1B2C96#1B2C96

#1B2C96 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.172 H 268.3°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#1B2C96
RGBrgb(27, 44, 150)
HSLhsl(232, 69%, 35%)
HSVhsv(232, 82%, 59%)
CMYKcmyk(82%, 70.7%, 0%, 41.2%)
CIE-LABlab(24.44, 33.84, -59.41)
CIE-LCHlch(24.44, 68.37, 299.67°)
OKLaboklab(36.23% -0.0051 -0.1721)
OKLCHoklch(36.23% 0.172 268.3)
XYZxyz(6.8558, 4.2356, 29.3045)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C96 #96851B
analogous
#1B6A96 #1B2C96 #471B96
triadic
#1B2C96 #961B2C #2C961B
tetradic
#1B2C96 #961B6A #96851B #1B9647
square
#1B2C96 #961B6A #96851B #1B9647
split-complementary
#1B2C96 #96471B #6A961B
monochromatic
#080E2E #121D62 #1B2C96 #243BCA #4D61DF

Accessibility & contrast

On white

11.37
#1B2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1B2C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C96
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C96#FFFFFF#000000##FFFFFF
##1B2C961.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b2c96;
/* rgb */ color: rgb(27, 44, 150);
/* oklch */ color: oklch(36.2% 0.172 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f65b6',
    500: '#1b2c96',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c96;
$custom-light: #6f65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c96",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 231.707,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36225,
    "c": 0.1722,
    "h": 268.3
  },
  "luminance": 0.04236
}

Semantic roles & 50–950 ramp

primary
#1B2C96
secondary
#C1B14C
accent
#D43BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1B2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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