#1B379D#1B379D

#1B379D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.169 H 266.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#1B379D
RGBrgb(27, 55, 157)
HSLhsl(227, 71%, 36%)
HSVhsv(227, 83%, 62%)
CMYKcmyk(82.8%, 65%, 0%, 38.4%)
CIE-LABlab(27.84, 29.25, -58.10)
CIE-LCHlch(27.84, 65.04, 296.72°)
OKLaboklab(38.92% -0.011 -0.1682)
OKLCHoklch(38.92% 0.169 266.3)
XYZxyz(7.9018, 5.3988, 32.5174)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B379D #9D811B
analogous
#1B789D #1B379D #401B9D
triadic
#1B379D #9D1B37 #379D1B
tetradic
#1B379D #9D1B78 #9D811B #1B9D40
square
#1B379D #9D1B78 #9D811B #1B9D40
split-complementary
#1B379D #9D401B #789D1B
monochromatic
#091235 #122569 #1B379D #2449D1 #5170E1

Accessibility & contrast

On white

10.10
#1B379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1B379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B379D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B379D#FFFFFF#000000##FFFFFF
##1B379D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b379d;
/* rgb */ color: rgb(27, 55, 157);
/* oklch */ color: oklch(38.9% 0.169 266.3);
Tailwind
colors: {
  custom: {
    50: '#706dbb',
    500: '#1b379d',
    950: '#000000',
  },
}
SCSS
$custom: #1b379d;
$custom-light: #706dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b379d",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 227.077,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38922,
    "c": 0.16857,
    "h": 266.3
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#1B379D
secondary
#C4AB50
accent
#C73AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B379D

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

Preview Lab → · Contrast checker → · Palette generator →

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