#1B376D#1B376D

#1B376D is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.100 H 262.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#1B376D
RGBrgb(27, 55, 109)
HSLhsl(220, 60%, 27%)
HSVhsv(220, 75%, 43%)
CMYKcmyk(75.2%, 49.5%, 0%, 57.3%)
CIE-LABlab(23.90, 9.94, -34.52)
CIE-LCHlch(23.90, 35.93, 286.06°)
OKLaboklab(34.72% -0.0139 -0.099)
OKLCHoklch(34.72% 0.1 262)
XYZxyz(4.5775, 4.0690, 15.0092)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B376D #6D511B
analogous
#1B606D #1B376D #281B6D
triadic
#1B376D #6D1B37 #376D1B
tetradic
#1B376D #6D1B60 #6D511B #1B6D28
square
#1B376D #6D1B60 #6D511B #1B6D28
split-complementary
#1B376D #6D281B #606D1B
monochromatic
#060C19 #0F1E3C #1B376D #27509E #3569CD

Accessibility & contrast

On white

11.58
#1B376D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B376D
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B376D#FFFFFF#000000##FFFFFF
##1B376D1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D6F
Deuteranopia (green-blind)
#07356C
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b376d;
/* rgb */ color: rgb(27, 55, 109);
/* oklch */ color: oklch(34.7% 0.100 262.0);
Tailwind
colors: {
  custom: {
    50: '#636d97',
    500: '#1b376d',
    950: '#000000',
  },
}
SCSS
$custom: #1b376d;
$custom-light: #636d97;
$custom-dark: #000000;
JSON
{
  "hex": "#1b376d",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 109
  },
  "hsl": {
    "h": 219.512,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34724,
    "c": 0.09996,
    "h": 262
  },
  "luminance": 0.0407
}

Semantic roles & 50–950 ramp

primary
#1B376D
secondary
#A28142
accent
#AD44E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1B376D

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

Preview Lab → · Contrast checker → · Palette generator →

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