#1B2883#1B2883

#1B2883 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.152 H 269.5°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#1B2883
RGBrgb(27, 40, 131)
HSLhsl(233, 66%, 31%)
HSVhsv(233, 79%, 51%)
CMYKcmyk(79.4%, 69.5%, 0%, 48.6%)
CIE-LABlab(21.54, 29.29, -52.36)
CIE-LCHlch(21.54, 60.00, 299.23°)
OKLaboklab(33.54% -0.0014 -0.1515)
OKLCHoklch(33.54% 0.152 269.5)
XYZxyz(5.3061, 3.3887, 21.8428)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2883 #83761B
analogous
#1B5C83 #1B2883 #421B83
triadic
#1B2883 #831B28 #28831B
tetradic
#1B2883 #831B5C #83761B #1B8342
square
#1B2883 #831B5C #83761B #1B8342
split-complementary
#1B2883 #83421B #5C831B
monochromatic
#06091E #111950 #1B2883 #2537B6 #4154D8

Accessibility & contrast

On white

12.52
#1B2883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B2883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2883
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2883#FFFFFF#000000##FFFFFF
##1B28831.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2883;
/* rgb */ color: rgb(27, 40, 131);
/* oklch */ color: oklch(33.5% 0.152 269.5);
Tailwind
colors: {
  custom: {
    50: '#6a62a8',
    500: '#1b2883',
    950: '#000000',
  },
}
SCSS
$custom: #1b2883;
$custom-light: #6a62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2883",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 232.5,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33539,
    "c": 0.15156,
    "h": 269.5
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#1B2883
secondary
#B6A843
accent
#D43FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2883

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

Preview Lab → · Contrast checker → · Palette generator →

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