#1B2C83#1B2C83

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

Color values

HEX#1B2C83
RGBrgb(27, 44, 131)
HSLhsl(230, 66%, 31%)
HSVhsv(230, 79%, 51%)
CMYKcmyk(79.4%, 66.4%, 0%, 48.6%)
CIE-LABlab(22.56, 26.59, -50.68)
CIE-LCHlch(22.56, 57.23, 297.68°)
OKLaboklab(34.28% -0.0038 -0.1466)
OKLCHoklch(34.28% 0.147 268.5)
XYZxyz(5.4480, 3.6725, 21.8901)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C83 #83721B
analogous
#1B6083 #1B2C83 #3E1B83
triadic
#1B2C83 #831B2C #2C831B
tetradic
#1B2C83 #831B60 #83721B #1B833E
square
#1B2C83 #831B60 #83721B #1B833E
split-complementary
#1B2C83 #833E1B #60831B
monochromatic
#060A1E #111B50 #1B2C83 #253DB6 #4159D8

Accessibility & contrast

On white

12.11
#1B2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1B2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C83
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C83#FFFFFF#000000##FFFFFF
##1B2C831.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b2c83;
/* rgb */ color: rgb(27, 44, 131);
/* oklch */ color: oklch(34.3% 0.147 268.5);
Tailwind
colors: {
  custom: {
    50: '#6a65a8',
    500: '#1b2c83',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c83;
$custom-light: #6a65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c83",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 230.192,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34285,
    "c": 0.14668,
    "h": 268.5
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#1B2C83
secondary
#B6A443
accent
#CD3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1B2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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