#1B376C#1B376C

#1B376C is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.098 H 261.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#1B376C
RGBrgb(27, 55, 108)
HSLhsl(219, 60%, 26%)
HSVhsv(219, 75%, 42%)
CMYKcmyk(75%, 49.1%, 0%, 57.6%)
CIE-LABlab(23.83, 9.53, -33.99)
CIE-LCHlch(23.83, 35.30, 285.66°)
OKLaboklab(34.65% -0.0141 -0.0974)
OKLCHoklch(34.65% 0.098 261.7)
XYZxyz(4.5240, 4.0476, 14.7273)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B376C #6C501B
analogous
#1B606C #1B376C #281B6C
triadic
#1B376C #6C1B37 #376C1B
tetradic
#1B376C #6C1B60 #6C501B #1B6C28
square
#1B376C #6C1B60 #6C501B #1B6C28
split-complementary
#1B376C #6C281B #606C1B
monochromatic
#060C18 #0F1E3B #1B376C #27509D #3569CC

Accessibility & contrast

On white

11.60
#1B376C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B376C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B376C
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B376C#FFFFFF#000000##FFFFFF
##1B376C1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6E
Deuteranopia (green-blind)
#09356B
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b376c;
/* rgb */ color: rgb(27, 55, 108);
/* oklch */ color: oklch(34.6% 0.098 261.7);
Tailwind
colors: {
  custom: {
    50: '#636d96',
    500: '#1b376c',
    950: '#000000',
  },
}
SCSS
$custom: #1b376c;
$custom-light: #636d96;
$custom-dark: #000000;
JSON
{
  "hex": "#1b376c",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 108
  },
  "hsl": {
    "h": 219.259,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34648,
    "c": 0.09844,
    "h": 261.7
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#1B376C
secondary
#A18042
accent
#AC45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1B376C

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

Preview Lab → · Contrast checker → · Palette generator →

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