#1B2DA1#1B2DA1

#1B2DA1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.185 H 267.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#1B2DA1
RGBrgb(27, 45, 161)
HSLhsl(232, 71%, 37%)
HSVhsv(232, 83%, 63%)
CMYKcmyk(83.2%, 72%, 0%, 36.9%)
CIE-LABlab(25.81, 37.27, -63.87)
CIE-LCHlch(25.81, 73.95, 300.26°)
OKLaboklab(37.56% -0.0067 -0.1851)
OKLCHoklch(37.56% 0.185 267.9)
XYZxyz(7.8212, 4.6821, 34.2028)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2DA1 #A18F1B
analogous
#1B70A1 #1B2DA1 #4C1BA1
triadic
#1B2DA1 #A11B2D #2DA11B
tetradic
#1B2DA1 #A11B70 #A18F1B #1BA14C
square
#1B2DA1 #A11B70 #A18F1B #1BA14C
split-complementary
#1B2DA1 #A14C1B #70A11B
monochromatic
#091038 #121E6D #1B2DA1 #243CD5 #5467E2

Accessibility & contrast

On white

10.84
#1B2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1B2DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2DA1
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2DA1#FFFFFF#000000##FFFFFF
##1B2DA11.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b2da1;
/* rgb */ color: rgb(27, 45, 161);
/* oklch */ color: oklch(37.6% 0.185 267.9);
Tailwind
colors: {
  custom: {
    50: '#7266be',
    500: '#1b2da1',
    950: '#000000',
  },
}
SCSS
$custom: #1b2da1;
$custom-light: #7266be;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2da1",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 231.94,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37559,
    "c": 0.18522,
    "h": 267.9
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#1B2DA1
secondary
#C5B652
accent
#D63AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1B2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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