#1B2C84#1B2C84

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

Color values

HEX#1B2C84
RGBrgb(27, 44, 132)
HSLhsl(230, 66%, 31%)
HSVhsv(230, 80%, 52%)
CMYKcmyk(79.5%, 66.7%, 0%, 48.2%)
CIE-LABlab(22.65, 26.98, -51.16)
CIE-LCHlch(22.65, 57.83, 297.80°)
OKLaboklab(34.38% -0.0039 -0.148)
OKLCHoklch(34.38% 0.148 268.5)
XYZxyz(5.5161, 3.6997, 22.2487)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C84 #84731B
analogous
#1B6084 #1B2C84 #3E1B84
triadic
#1B2C84 #841B2C #2C841B
tetradic
#1B2C84 #841B60 #84731B #1B843E
square
#1B2C84 #841B60 #84731B #1B843E
split-complementary
#1B2C84 #843E1B #60841B
monochromatic
#060A1E #111B51 #1B2C84 #253DB7 #415AD8

Accessibility & contrast

On white

12.07
#1B2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1B2C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C84
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C84#FFFFFF#000000##FFFFFF
##1B2C841.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b2c84;
/* rgb */ color: rgb(27, 44, 132);
/* oklch */ color: oklch(34.4% 0.148 268.5);
Tailwind
colors: {
  custom: {
    50: '#6a65a9',
    500: '#1b2c84',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c84;
$custom-light: #6a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c84",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 230.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34384,
    "c": 0.14806,
    "h": 268.5
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#1B2C84
secondary
#B7A543
accent
#CD3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1B2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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