#1B2B88#1B2B88

#1B2B88 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.155 H 268.7°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1B2B88
RGBrgb(27, 43, 136)
HSLhsl(231, 67%, 32%)
HSVhsv(231, 80%, 53%)
CMYKcmyk(80.1%, 68.4%, 0%, 46.7%)
CIE-LABlab(22.78, 29.20, -53.45)
CIE-LCHlch(22.78, 60.90, 298.65°)
OKLaboklab(34.6% -0.0035 -0.1547)
OKLCHoklch(34.6% 0.155 268.7)
XYZxyz(5.7583, 3.7377, 23.7057)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B88 #88781B
analogous
#1B6288 #1B2B88 #421B88
triadic
#1B2B88 #881B2B #2B881B
tetradic
#1B2B88 #881B62 #88781B #1B8842
square
#1B2B88 #881B62 #88781B #1B8842
split-complementary
#1B2B88 #88421B #62881B
monochromatic
#070B22 #111B55 #1B2B88 #253BBB #445ADA

Accessibility & contrast

On white

12.02
#1B2B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1B2B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B88
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B88#FFFFFF#000000##FFFFFF
##1B2B881.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2b88;
/* rgb */ color: rgb(27, 43, 136);
/* oklch */ color: oklch(34.6% 0.155 268.7);
Tailwind
colors: {
  custom: {
    50: '#6b64ac',
    500: '#1b2b88',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b88;
$custom-light: #6b64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b88",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 231.193,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34599,
    "c": 0.15476,
    "h": 268.7
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#1B2B88
secondary
#BBAA44
accent
#D13EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1B2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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