#1B2C8D#1B2C8D

#1B2C8D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.160 H 268.4°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#1B2C8D
RGBrgb(27, 44, 141)
HSLhsl(231, 68%, 33%)
HSVhsv(231, 81%, 55%)
CMYKcmyk(80.9%, 68.8%, 0%, 44.7%)
CIE-LABlab(23.53, 30.45, -55.34)
CIE-LCHlch(23.53, 63.16, 298.82°)
OKLaboklab(35.29% -0.0044 -0.1602)
OKLCHoklch(35.29% 0.16 268.4)
XYZxyz(6.1587, 3.9568, 25.6333)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C8D #8D7C1B
analogous
#1B658D #1B2C8D #431B8D
triadic
#1B2C8D #8D1B2C #2C8D1B
tetradic
#1B2C8D #8D1B65 #8D7C1B #1B8D43
square
#1B2C8D #8D1B65 #8D7C1B #1B8D43
split-complementary
#1B2C8D #8D431B #658D1B
monochromatic
#070C26 #111C5A #1B2C8D #253CC0 #475DDC

Accessibility & contrast

On white

11.72
#1B2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C8D
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C8D#FFFFFF#000000##FFFFFF
##1B2C8D1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b2c8d;
/* rgb */ color: rgb(27, 44, 141);
/* oklch */ color: oklch(35.3% 0.160 268.4);
Tailwind
colors: {
  custom: {
    50: '#6c65af',
    500: '#1b2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c8d;
$custom-light: #6c65af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c8d",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 231.053,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35291,
    "c": 0.16031,
    "h": 268.4
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#1B2C8D
secondary
#BDAC46
accent
#D13DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1B2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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