#1B2B76#1B2B76

#1B2B76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.130 H 268.8°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#1B2B76
RGBrgb(27, 43, 118)
HSLhsl(229, 63%, 28%)
HSVhsv(229, 77%, 46%)
CMYKcmyk(77.1%, 63.6%, 0%, 53.7%)
CIE-LABlab(21.09, 22.15, -44.85)
CIE-LCHlch(21.09, 50.02, 296.28°)
OKLaboklab(32.83% -0.0028 -0.1295)
OKLCHoklch(32.83% 0.13 268.8)
XYZxyz(4.5848, 3.2683, 17.5252)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B76 #76661B
analogous
#1B5876 #1B2B76 #381B76
triadic
#1B2B76 #761B2B #2B761B
tetradic
#1B2B76 #761B58 #76661B #1B7638
square
#1B2B76 #761B58 #76661B #1B7638
split-complementary
#1B2B76 #76381B #58761B
monochromatic
#060919 #101944 #1B2B76 #263DA8 #3A54D2

Accessibility & contrast

On white

12.70
#1B2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B2B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B76
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B76#FFFFFF#000000##FFFFFF
##1B2B761.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2b76;
/* rgb */ color: rgb(27, 43, 118);
/* oklch */ color: oklch(32.8% 0.130 268.8);
Tailwind
colors: {
  custom: {
    50: '#66649e',
    500: '#1b2b76',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b76;
$custom-light: #66649e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b76",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 229.451,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32829,
    "c": 0.12957,
    "h": 268.8
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#1B2B76
secondary
#AA9842
accent
#C942E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1B2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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