#1B2DA0#1B2DA0

#1B2DA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.184 H 268.0°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#1B2DA0
RGBrgb(27, 45, 160)
HSLhsl(232, 71%, 37%)
HSVhsv(232, 83%, 63%)
CMYKcmyk(83.1%, 71.9%, 0%, 37.3%)
CIE-LABlab(25.70, 36.90, -63.44)
CIE-LCHlch(25.70, 73.39, 300.19°)
OKLaboklab(37.45% -0.0065 -0.1838)
OKLCHoklch(37.45% 0.184 268)
XYZxyz(7.7333, 4.6469, 33.7403)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2DA0 #A08E1B
analogous
#1B70A0 #1B2DA0 #4C1BA0
triadic
#1B2DA0 #A01B2D #2DA01B
tetradic
#1B2DA0 #A01B70 #A08E1B #1BA04C
square
#1B2DA0 #A01B70 #A08E1B #1BA04C
split-complementary
#1B2DA0 #A04C1B #70A01B
monochromatic
#091037 #121E6C #1B2DA0 #243CD4 #5367E2

Accessibility & contrast

On white

10.88
#1B2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1B2DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2DA0
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2DA0#FFFFFF#000000##FFFFFF
##1B2DA01.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b2da0;
/* rgb */ color: rgb(27, 45, 160);
/* oklch */ color: oklch(37.5% 0.184 268.0);
Tailwind
colors: {
  custom: {
    50: '#7266bd',
    500: '#1b2da0',
    950: '#000000',
  },
}
SCSS
$custom: #1b2da0;
$custom-light: #7266bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2da0",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 231.88,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37452,
    "c": 0.18396,
    "h": 268
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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