#1B378E#1B378E

#1B378E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.148 H 265.8°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#1B378E
RGBrgb(27, 55, 142)
HSLhsl(225, 68%, 33%)
HSVhsv(225, 81%, 56%)
CMYKcmyk(81%, 61.3%, 0%, 44.3%)
CIE-LABlab(26.50, 23.35, -51.10)
CIE-LCHlch(26.50, 56.18, 294.56°)
OKLaboklab(37.51% -0.0109 -0.1477)
OKLCHoklch(37.51% 0.148 265.8)
XYZxyz(6.6989, 4.9176, 26.1821)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B378E #8E721B
analogous
#1B708E #1B378E #381B8E
triadic
#1B378E #8E1B37 #378E1B
tetradic
#1B378E #8E1B70 #8E721B #1B8E38
square
#1B378E #8E1B70 #8E721B #1B8E38
split-complementary
#1B378E #8E381B #708E1B
monochromatic
#070F27 #11235B #1B378E #254BC1 #476CDC

Accessibility & contrast

On white

10.59
#1B378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B378E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B378E#FFFFFF#000000##FFFFFF
##1B378E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b378e;
/* rgb */ color: rgb(27, 55, 142);
/* oklch */ color: oklch(37.5% 0.148 265.8);
Tailwind
colors: {
  custom: {
    50: '#6c6db0',
    500: '#1b378e',
    950: '#000000',
  },
}
SCSS
$custom: #1b378e;
$custom-light: #6c6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b378e",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 225.391,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37511,
    "c": 0.1481,
    "h": 265.8
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

primary
#1B378E
secondary
#BEA147
accent
#C13DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B378E

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

Preview Lab → · Contrast checker → · Palette generator →

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