#1B377D#1B377D

#1B377D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.124 H 264.5°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#1B377D
RGBrgb(27, 55, 125)
HSLhsl(223, 64%, 30%)
HSVhsv(223, 78%, 49%)
CMYKcmyk(78.4%, 56%, 0%, 51%)
CIE-LABlab(25.09, 16.49, -42.77)
CIE-LCHlch(25.09, 45.84, 291.08°)
OKLaboklab(36.01% -0.0119 -0.1233)
OKLCHoklch(36.01% 0.124 264.5)
XYZxyz(5.5185, 4.4454, 19.9653)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B377D #7D611B
analogous
#1B687D #1B377D #301B7D
triadic
#1B377D #7D1B37 #377D1B
tetradic
#1B377D #7D1B68 #7D611B #1B7D30
square
#1B377D #7D1B68 #7D611B #1B7D30
split-complementary
#1B377D #7D301B #687D1B
monochromatic
#050B19 #10214B #1B377D #264DAF #3D69D5

Accessibility & contrast

On white

11.12
#1B377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1B377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B377D
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B377D#FFFFFF#000000##FFFFFF
##1B377D1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b377d;
/* rgb */ color: rgb(27, 55, 125);
/* oklch */ color: oklch(36.0% 0.124 264.5);
Tailwind
colors: {
  custom: {
    50: '#676da3',
    500: '#1b377d',
    950: '#000000',
  },
}
SCSS
$custom: #1b377d;
$custom-light: #676da3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b377d",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 222.857,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36014,
    "c": 0.12383,
    "h": 264.5
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#1B377D
secondary
#B19143
accent
#B840E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B377D

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

Preview Lab → · Contrast checker → · Palette generator →

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