#1B2C88#1B2C88

#1B2C88 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.154 H 268.5°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#1B2C88
RGBrgb(27, 44, 136)
HSLhsl(231, 67%, 32%)
HSVhsv(231, 80%, 53%)
CMYKcmyk(80.1%, 67.6%, 0%, 46.7%)
CIE-LABlab(23.04, 28.53, -53.03)
CIE-LCHlch(23.04, 60.22, 298.28°)
OKLaboklab(34.78% -0.0041 -0.1535)
OKLCHoklch(34.78% 0.154 268.5)
XYZxyz(5.7951, 3.8113, 23.7180)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C88 #88771B
analogous
#1B6388 #1B2C88 #411B88
triadic
#1B2C88 #881B2C #2C881B
tetradic
#1B2C88 #881B63 #88771B #1B8841
square
#1B2C88 #881B63 #88771B #1B8841
split-complementary
#1B2C88 #88411B #63881B
monochromatic
#070B22 #111B55 #1B2C88 #253DBB #445BDA

Accessibility & contrast

On white

11.92
#1B2C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1B2C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C88
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C88#FFFFFF#000000##FFFFFF
##1B2C881.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2c88;
/* rgb */ color: rgb(27, 44, 136);
/* oklch */ color: oklch(34.8% 0.154 268.5);
Tailwind
colors: {
  custom: {
    50: '#6b65ac',
    500: '#1b2c88',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c88;
$custom-light: #6b65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c88",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 230.642,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34784,
    "c": 0.15355,
    "h": 268.5
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#1B2C88
secondary
#BBA844
accent
#CF3EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1B2C88

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

Preview Lab → · Contrast checker → · Palette generator →

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