#1B2C76#1B2C76

#1B2C76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.128 H 268.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#1B2C76
RGBrgb(27, 44, 118)
HSLhsl(229, 63%, 28%)
HSVhsv(229, 77%, 46%)
CMYKcmyk(77.1%, 62.7%, 0%, 53.7%)
CIE-LABlab(21.36, 21.44, -44.40)
CIE-LCHlch(21.36, 49.30, 295.78°)
OKLaboklab(33.03% -0.0035 -0.1282)
OKLCHoklch(33.03% 0.128 268.4)
XYZxyz(4.6216, 3.3419, 17.5375)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C76 #76651B
analogous
#1B5976 #1B2C76 #371B76
triadic
#1B2C76 #761B2C #2C761B
tetradic
#1B2C76 #761B59 #76651B #1B7637
square
#1B2C76 #761B59 #76651B #1B7637
split-complementary
#1B2C76 #76371B #59761B
monochromatic
#060919 #101944 #1B2C76 #263FA8 #3A56D2

Accessibility & contrast

On white

12.59
#1B2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1B2C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C76
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C76#FFFFFF#000000##FFFFFF
##1B2C761.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2c76;
/* rgb */ color: rgb(27, 44, 118);
/* oklch */ color: oklch(33.0% 0.128 268.4);
Tailwind
colors: {
  custom: {
    50: '#66649e',
    500: '#1b2c76',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c76;
$custom-light: #66649e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c76",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 228.791,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33034,
    "c": 0.12825,
    "h": 268.4
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#1B2C76
secondary
#AA9742
accent
#C742E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1B2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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