#1B378B#1B378B

#1B378B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.144 H 265.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#1B378B
RGBrgb(27, 55, 139)
HSLhsl(225, 67%, 33%)
HSVhsv(225, 81%, 55%)
CMYKcmyk(80.6%, 60.4%, 0%, 45.5%)
CIE-LABlab(26.24, 22.15, -49.66)
CIE-LCHlch(26.24, 54.37, 294.04°)
OKLaboklab(37.24% -0.011 -0.1435)
OKLCHoklch(37.24% 0.144 265.6)
XYZxyz(6.4767, 4.8287, 25.0118)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B378B #8B6F1B
analogous
#1B6F8B #1B378B #371B8B
triadic
#1B378B #8B1B37 #378B1B
tetradic
#1B378B #8B1B6F #8B6F1B #1B8B37
square
#1B378B #8B1B6F #8B6F1B #1B8B37
split-complementary
#1B378B #8B371B #6F8B1B
monochromatic
#070E25 #112358 #1B378B #254BBE #456BDB

Accessibility & contrast

On white

10.68
#1B378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1B378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B378B
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B378B#FFFFFF#000000##FFFFFF
##1B378B1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b378b;
/* rgb */ color: rgb(27, 55, 139);
/* oklch */ color: oklch(37.2% 0.144 265.6);
Tailwind
colors: {
  custom: {
    50: '#6b6dae',
    500: '#1b378b',
    950: '#000000',
  },
}
SCSS
$custom: #1b378b;
$custom-light: #6b6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b378b",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 225,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37239,
    "c": 0.1439,
    "h": 265.6
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#1B378B
secondary
#BC9F45
accent
#BF3DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B378B

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

Preview Lab → · Contrast checker → · Palette generator →

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