#1B2A88#1B2A88

#1B2A88 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.156 H 268.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#1B2A88
RGBrgb(27, 42, 136)
HSLhsl(232, 67%, 32%)
HSVhsv(232, 80%, 53%)
CMYKcmyk(80.1%, 69.1%, 0%, 46.7%)
CIE-LABlab(22.53, 29.87, -53.86)
CIE-LCHlch(22.53, 61.59, 299.01°)
OKLaboklab(34.42% -0.003 -0.1559)
OKLCHoklch(34.42% 0.156 268.9)
XYZxyz(5.7224, 3.6659, 23.6938)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A88 #88791B
analogous
#1B6188 #1B2A88 #431B88
triadic
#1B2A88 #881B2A #2A881B
tetradic
#1B2A88 #881B61 #88791B #1B8843
square
#1B2A88 #881B61 #88791B #1B8843
split-complementary
#1B2A88 #88431B #61881B
monochromatic
#070A22 #111A55 #1B2A88 #253ABB #4458DA

Accessibility & contrast

On white

12.11
#1B2A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1B2A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A88
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A88#FFFFFF#000000##FFFFFF
##1B2A881.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b2a88;
/* rgb */ color: rgb(27, 42, 136);
/* oklch */ color: oklch(34.4% 0.156 268.9);
Tailwind
colors: {
  custom: {
    50: '#6b63ac',
    500: '#1b2a88',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a88;
$custom-light: #6b63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a88",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 231.743,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34416,
    "c": 0.15595,
    "h": 268.9
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#1B2A88
secondary
#BBAB44
accent
#D23EEA
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1B2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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