#1B378D#1B378D

#1B378D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.147 H 265.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#1B378D
RGBrgb(27, 55, 141)
HSLhsl(225, 68%, 33%)
HSVhsv(225, 81%, 55%)
CMYKcmyk(80.9%, 61%, 0%, 44.7%)
CIE-LABlab(26.41, 22.95, -50.62)
CIE-LCHlch(26.41, 55.58, 294.39°)
OKLaboklab(37.42% -0.011 -0.1463)
OKLCHoklch(37.42% 0.147 265.7)
XYZxyz(6.6242, 4.8877, 25.7884)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B378D #8D711B
analogous
#1B708D #1B378D #381B8D
triadic
#1B378D #8D1B37 #378D1B
tetradic
#1B378D #8D1B70 #8D711B #1B8D38
square
#1B378D #8D1B70 #8D711B #1B8D38
split-complementary
#1B378D #8D381B #708D1B
monochromatic
#070F26 #11235A #1B378D #254BC0 #476BDC

Accessibility & contrast

On white

10.62
#1B378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1B378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B378D
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B378D#FFFFFF#000000##FFFFFF
##1B378D1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b378d;
/* rgb */ color: rgb(27, 55, 141);
/* oklch */ color: oklch(37.4% 0.147 265.7);
Tailwind
colors: {
  custom: {
    50: '#6b6daf',
    500: '#1b378d',
    950: '#000000',
  },
}
SCSS
$custom: #1b378d;
$custom-light: #6b6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b378d",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 225.263,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3742,
    "c": 0.14671,
    "h": 265.7
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#1B378D
secondary
#BDA046
accent
#C03DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1B378D

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

Preview Lab → · Contrast checker → · Palette generator →

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