#1B376B#1B376B

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

Color values

HEX#1B376B
RGBrgb(27, 55, 107)
HSLhsl(219, 60%, 26%)
HSVhsv(219, 75%, 42%)
CMYKcmyk(74.8%, 48.6%, 0%, 58%)
CIE-LABlab(23.76, 9.12, -33.46)
CIE-LCHlch(23.76, 34.68, 285.24°)
OKLaboklab(34.57% -0.0143 -0.0959)
OKLCHoklch(34.57% 0.097 261.5)
XYZxyz(4.4711, 4.0265, 14.4486)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B376B #6B4F1B
analogous
#1B5F6B #1B376B #271B6B
triadic
#1B376B #6B1B37 #376B1B
tetradic
#1B376B #6B1B5F #6B4F1B #1B6B27
square
#1B376B #6B1B5F #6B4F1B #1B6B27
split-complementary
#1B376B #6B271B #5F6B1B
monochromatic
#060D18 #0F1E3A #1B376B #27509C #3569CC

Accessibility & contrast

On white

11.63
#1B376B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B376B
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B376B#FFFFFF#000000##FFFFFF
##1B376B1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6D
Deuteranopia (green-blind)
#0B356A
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b376b;
/* rgb */ color: rgb(27, 55, 107);
/* oklch */ color: oklch(34.6% 0.097 261.5);
Tailwind
colors: {
  custom: {
    50: '#636d96',
    500: '#1b376b',
    950: '#000000',
  },
}
SCSS
$custom: #1b376b;
$custom-light: #636d96;
$custom-dark: #000000;
JSON
{
  "hex": "#1b376b",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 107
  },
  "hsl": {
    "h": 219,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34572,
    "c": 0.09692,
    "h": 261.5
  },
  "luminance": 0.04027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B376B

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

Preview Lab → · Contrast checker → · Palette generator →

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