#1B2CA0#1B2CA0

#1B2CA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.185 H 268.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#1B2CA0
RGBrgb(27, 44, 160)
HSLhsl(232, 71%, 37%)
HSVhsv(232, 83%, 63%)
CMYKcmyk(83.1%, 72.5%, 0%, 37.3%)
CIE-LABlab(25.48, 37.53, -63.81)
CIE-LCHlch(25.48, 74.03, 300.46°)
OKLaboklab(37.29% -0.0062 -0.1849)
OKLCHoklch(37.29% 0.185 268.1)
XYZxyz(7.6956, 4.5715, 33.7277)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2CA0 #A08F1B
analogous
#1B6FA0 #1B2CA0 #4D1BA0
triadic
#1B2CA0 #A01B2C #2CA01B
tetradic
#1B2CA0 #A01B6F #A08F1B #1BA04D
square
#1B2CA0 #A01B6F #A08F1B #1BA04D
split-complementary
#1B2CA0 #A04D1B #6FA01B
monochromatic
#090F37 #121E6C #1B2CA0 #243AD4 #5366E2

Accessibility & contrast

On white

10.97
#1B2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1B2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2CA0
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2CA0#FFFFFF#000000##FFFFFF
##1B2CA01.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2ca0;
/* rgb */ color: rgb(27, 44, 160);
/* oklch */ color: oklch(37.3% 0.185 268.1);
Tailwind
colors: {
  custom: {
    50: '#7266bd',
    500: '#1b2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #1b2ca0;
$custom-light: #7266bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2ca0",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 232.331,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37289,
    "c": 0.18503,
    "h": 268.1
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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