#1B2988#1B2988

#1B2988 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.157 H 269.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#1B2988
RGBrgb(27, 41, 136)
HSLhsl(232, 67%, 32%)
HSVhsv(232, 80%, 53%)
CMYKcmyk(80.1%, 69.9%, 0%, 46.7%)
CIE-LABlab(22.29, 30.53, -54.26)
CIE-LCHlch(22.29, 62.26, 299.37°)
OKLaboklab(34.24% -0.0024 -0.1571)
OKLCHoklch(34.24% 0.157 269.1)
XYZxyz(5.6873, 3.5958, 23.6821)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2988 #887A1B
analogous
#1B5F88 #1B2988 #441B88
triadic
#1B2988 #881B29 #29881B
tetradic
#1B2988 #881B5F #887A1B #1B8844
square
#1B2988 #881B5F #887A1B #1B8844
split-complementary
#1B2988 #88441B #5F881B
monochromatic
#070A22 #111A55 #1B2988 #2538BB #4457DA

Accessibility & contrast

On white

12.21
#1B2988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1B2988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2988
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2988#FFFFFF#000000##FFFFFF
##1B29881.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2988;
/* rgb */ color: rgb(27, 41, 136);
/* oklch */ color: oklch(34.2% 0.157 269.1);
Tailwind
colors: {
  custom: {
    50: '#6b63ac',
    500: '#1b2988',
    950: '#000000',
  },
}
SCSS
$custom: #1b2988;
$custom-light: #6b63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2988",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 232.294,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34237,
    "c": 0.15713,
    "h": 269.1
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#1B2988
secondary
#BBAC44
accent
#D43EEA
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1B2988

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

Preview Lab → · Contrast checker → · Palette generator →

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