#1B2C85#1B2C85

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

Color values

HEX#1B2C85
RGBrgb(27, 44, 133)
HSLhsl(230, 66%, 31%)
HSVhsv(230, 80%, 52%)
CMYKcmyk(79.7%, 66.9%, 0%, 47.8%)
CIE-LABlab(22.75, 27.37, -51.63)
CIE-LCHlch(22.75, 58.43, 297.93°)
OKLaboklab(34.48% -0.0039 -0.1494)
OKLCHoklch(34.48% 0.149 268.5)
XYZxyz(5.5849, 3.7272, 22.6108)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C85 #85741B
analogous
#1B6185 #1B2C85 #3F1B85
triadic
#1B2C85 #851B2C #2C851B
tetradic
#1B2C85 #851B61 #85741B #1B853F
square
#1B2C85 #851B61 #85741B #1B853F
split-complementary
#1B2C85 #853F1B #61851B
monochromatic
#060A1F #111B52 #1B2C85 #253DB8 #425AD9

Accessibility & contrast

On white

12.03
#1B2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2C85
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C85#FFFFFF#000000##FFFFFF
##1B2C851.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b2c85;
/* rgb */ color: rgb(27, 44, 133);
/* oklch */ color: oklch(34.5% 0.149 268.5);
Tailwind
colors: {
  custom: {
    50: '#6a65a9',
    500: '#1b2c85',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c85;
$custom-light: #6a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c85",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 230.377,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34483,
    "c": 0.14944,
    "h": 268.5
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#1B2C85
secondary
#B8A644
accent
#CE3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1B2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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