#1B376F#1B376F

#1B376F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.103 H 262.4°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#1B376F
RGBrgb(27, 55, 111)
HSLhsl(220, 61%, 27%)
HSVhsv(220, 76%, 44%)
CMYKcmyk(75.7%, 50.5%, 0%, 56.5%)
CIE-LABlab(24.04, 10.76, -35.58)
CIE-LCHlch(24.04, 37.17, 286.82°)
OKLaboklab(34.88% -0.0136 -0.1021)
OKLCHoklch(34.88% 0.103 262.4)
XYZxyz(4.6864, 4.1126, 15.5827)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B376F #6F531B
analogous
#1B616F #1B376F #291B6F
triadic
#1B376F #6F1B37 #376F1B
tetradic
#1B376F #6F1B61 #6F531B #1B6F29
square
#1B376F #6F1B61 #6F531B #1B6F29
split-complementary
#1B376F #6F291B #616F1B
monochromatic
#060C19 #0F1F3E #1B376F #274FA0 #3669CE

Accessibility & contrast

On white

11.52
#1B376F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1B376F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B376F
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B376F#FFFFFF#000000##FFFFFF
##1B376F1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#02366E
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b376f;
/* rgb */ color: rgb(27, 55, 111);
/* oklch */ color: oklch(34.9% 0.103 262.4);
Tailwind
colors: {
  custom: {
    50: '#646d99',
    500: '#1b376f',
    950: '#000000',
  },
}
SCSS
$custom: #1b376f;
$custom-light: #646d99;
$custom-dark: #000000;
JSON
{
  "hex": "#1b376f",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 111
  },
  "hsl": {
    "h": 220,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34878,
    "c": 0.10299,
    "h": 262.4
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#1B376F
secondary
#A48342
accent
#AF44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1B376F

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

Preview Lab → · Contrast checker → · Palette generator →

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