#1B2976#1B2976

#1B2976 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.132 H 269.4°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#1B2976
RGBrgb(27, 41, 118)
HSLhsl(231, 63%, 28%)
HSVhsv(231, 77%, 46%)
CMYKcmyk(77.1%, 65.3%, 0%, 53.7%)
CIE-LABlab(20.54, 23.55, -45.74)
CIE-LCHlch(20.54, 51.45, 297.25°)
OKLaboklab(32.43% -0.0013 -0.1322)
OKLCHoklch(32.43% 0.132 269.4)
XYZxyz(4.5138, 3.1264, 17.5016)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2976 #76681B
analogous
#1B5676 #1B2976 #3A1B76
triadic
#1B2976 #761B29 #29761B
tetradic
#1B2976 #761B56 #76681B #1B763A
square
#1B2976 #761B56 #76681B #1B763A
split-complementary
#1B2976 #763A1B #56761B
monochromatic
#060919 #101844 #1B2976 #263AA8 #3A51D2

Accessibility & contrast

On white

12.92
#1B2976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B2976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2976
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2976#FFFFFF#000000##FFFFFF
##1B29761.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2976;
/* rgb */ color: rgb(27, 41, 118);
/* oklch */ color: oklch(32.4% 0.132 269.4);
Tailwind
colors: {
  custom: {
    50: '#67629e',
    500: '#1b2976',
    950: '#000000',
  },
}
SCSS
$custom: #1b2976;
$custom-light: #67629e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2976",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 230.769,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32426,
    "c": 0.13218,
    "h": 269.4
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#1B2976
secondary
#AA9A42
accent
#CD42E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1B2976

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

Preview Lab → · Contrast checker → · Palette generator →

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