#1B2376#1B2376

#1B2376 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.140 H 271.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#1B2376
RGBrgb(27, 35, 118)
HSLhsl(235, 63%, 28%)
HSVhsv(235, 77%, 46%)
CMYKcmyk(77.1%, 70.3%, 0%, 53.7%)
CIE-LABlab(18.98, 27.68, -48.30)
CIE-LCHlch(18.98, 55.67, 299.82°)
OKLaboklab(31.28% 0.0028 -0.1397)
OKLCHoklch(31.28% 0.14 271.1)
XYZxyz(4.3219, 2.7426, 17.4376)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2376 #766E1B
analogous
#1B5076 #1B2376 #401B76
triadic
#1B2376 #761B23 #23761B
tetradic
#1B2376 #761B50 #766E1B #1B7640
square
#1B2376 #761B50 #766E1B #1B7640
split-complementary
#1B2376 #76401B #50761B
monochromatic
#060719 #101444 #1B2376 #2632A8 #3A47D2

Accessibility & contrast

On white

13.56
#1B2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1B2376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2376
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2376#FFFFFF#000000##FFFFFF
##1B23761.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b2376;
/* rgb */ color: rgb(27, 35, 118);
/* oklch */ color: oklch(31.3% 0.140 271.1);
Tailwind
colors: {
  custom: {
    50: '#675e9e',
    500: '#1b2376',
    950: '#000000',
  },
}
SCSS
$custom: #1b2376;
$custom-light: #675e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2376",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 234.725,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31283,
    "c": 0.13973,
    "h": 271.1
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#1B2376
secondary
#AAA142
accent
#D742E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2376

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

Preview Lab → · Contrast checker → · Palette generator →

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