#1B378F#1B378F

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

Color values

HEX#1B378F
RGBrgb(27, 55, 143)
HSLhsl(226, 68%, 33%)
HSVhsv(226, 81%, 56%)
CMYKcmyk(81.1%, 61.5%, 0%, 43.9%)
CIE-LABlab(26.59, 23.75, -51.57)
CIE-LCHlch(26.59, 56.78, 294.73°)
OKLaboklab(37.6% -0.0109 -0.1491)
OKLCHoklch(37.6% 0.15 265.8)
XYZxyz(6.7744, 4.9478, 26.5793)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B378F #8F731B
analogous
#1B718F #1B378F #391B8F
triadic
#1B378F #8F1B37 #378F1B
tetradic
#1B378F #8F1B71 #8F731B #1B8F39
square
#1B378F #8F1B71 #8F731B #1B8F39
split-complementary
#1B378F #8F391B #718F1B
monochromatic
#080F28 #11235C #1B378F #254BC2 #486CDC

Accessibility & contrast

On white

10.55
#1B378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1B378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B378F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B378F#FFFFFF#000000##FFFFFF
##1B378F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b378f;
/* rgb */ color: rgb(27, 55, 143);
/* oklch */ color: oklch(37.6% 0.149 265.8);
Tailwind
colors: {
  custom: {
    50: '#6c6db1',
    500: '#1b378f',
    950: '#000000',
  },
}
SCSS
$custom: #1b378f;
$custom-light: #6c6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b378f",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 225.517,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37603,
    "c": 0.1495,
    "h": 265.8
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#1B378F
secondary
#BEA248
accent
#C13DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B378F

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

Preview Lab → · Contrast checker → · Palette generator →

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