#1B2D88#1B2D88

#1B2D88 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.152 H 268.3°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1B2D88
RGBrgb(27, 45, 136)
HSLhsl(230, 67%, 32%)
HSVhsv(230, 80%, 53%)
CMYKcmyk(80.1%, 66.9%, 0%, 46.7%)
CIE-LABlab(23.29, 27.85, -52.61)
CIE-LCHlch(23.29, 59.53, 297.90°)
OKLaboklab(34.97% -0.0046 -0.1523)
OKLCHoklch(34.97% 0.152 268.3)
XYZxyz(5.8328, 3.8867, 23.7306)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D88 #88761B
analogous
#1B6488 #1B2D88 #401B88
triadic
#1B2D88 #881B2D #2D881B
tetradic
#1B2D88 #881B64 #88761B #1B8840
square
#1B2D88 #881B64 #88761B #1B8840
split-complementary
#1B2D88 #88401B #64881B
monochromatic
#070B22 #111C55 #1B2D88 #253EBB #445CDA

Accessibility & contrast

On white

11.82
#1B2D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1B2D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D88
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D88#FFFFFF#000000##FFFFFF
##1B2D881.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2d88;
/* rgb */ color: rgb(27, 45, 136);
/* oklch */ color: oklch(35.0% 0.152 268.3);
Tailwind
colors: {
  custom: {
    50: '#6b66ac',
    500: '#1b2d88',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d88;
$custom-light: #6b66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d88",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 230.092,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34971,
    "c": 0.15233,
    "h": 268.3
  },
  "luminance": 0.03887
}

Semantic roles & 50–950 ramp

primary
#1B2D88
secondary
#BBA744
accent
#CD3EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1B2D88

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

Preview Lab → · Contrast checker → · Palette generator →

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