#1B2088#1B2088

#1B2088 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.167 H 270.6°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#1B2088
RGBrgb(27, 32, 136)
HSLhsl(237, 67%, 32%)
HSVhsv(237, 80%, 53%)
CMYKcmyk(80.1%, 76.5%, 0%, 46.7%)
CIE-LABlab(20.22, 36.24, -57.68)
CIE-LCHlch(20.22, 68.12, 302.14°)
OKLaboklab(32.75% 0.0018 -0.167)
OKLCHoklch(32.75% 0.167 270.6)
XYZxyz(5.4109, 3.0430, 23.5900)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2088 #88831B
analogous
#1B5788 #1B2088 #4D1B88
triadic
#1B2088 #881B20 #20881B
tetradic
#1B2088 #881B57 #88831B #1B884D
square
#1B2088 #881B57 #88831B #1B884D
split-complementary
#1B2088 #884D1B #57881B
monochromatic
#070822 #111455 #1B2088 #252CBB #444ADA

Accessibility & contrast

On white

13.05
#1B2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2088
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2088#FFFFFF#000000##FFFFFF
##1B20881.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002B86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2088;
/* rgb */ color: rgb(27, 32, 136);
/* oklch */ color: oklch(32.7% 0.167 270.6);
Tailwind
colors: {
  custom: {
    50: '#6c5dac',
    500: '#1b2088',
    950: '#000000',
  },
}
SCSS
$custom: #1b2088;
$custom-light: #6c5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2088",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 237.248,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32747,
    "c": 0.16705,
    "h": 270.6
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#1B2088
secondary
#BBB644
accent
#E23EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B2088

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

Preview Lab → · Contrast checker → · Palette generator →

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