#1B377F#1B377F

#1B377F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.127 H 264.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#1B377F
RGBrgb(27, 55, 127)
HSLhsl(223, 65%, 30%)
HSVhsv(223, 79%, 50%)
CMYKcmyk(78.7%, 56.7%, 0%, 50.2%)
CIE-LABlab(25.25, 17.30, -43.78)
CIE-LCHlch(25.25, 47.07, 291.57°)
OKLaboklab(36.18% -0.0117 -0.1262)
OKLCHoklch(36.18% 0.127 264.7)
XYZxyz(5.6476, 4.4971, 20.6449)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B377F #7F631B
analogous
#1B697F #1B377F #311B7F
triadic
#1B377F #7F1B37 #377F1B
tetradic
#1B377F #7F1B69 #7F631B #1B7F31
square
#1B377F #7F1B69 #7F631B #1B7F31
split-complementary
#1B377F #7F311B #697F1B
monochromatic
#060B1A #10214D #1B377F #264DB1 #3E69D6

Accessibility & contrast

On white

11.05
#1B377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1B377F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B377F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B377F#FFFFFF#000000##FFFFFF
##1B377F1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b377f;
/* rgb */ color: rgb(27, 55, 127);
/* oklch */ color: oklch(36.2% 0.127 264.7);
Tailwind
colors: {
  custom: {
    50: '#686da5',
    500: '#1b377f',
    950: '#000000',
  },
}
SCSS
$custom: #1b377f;
$custom-light: #686da5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b377f",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 223.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36184,
    "c": 0.12674,
    "h": 264.7
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#1B377F
secondary
#B39343
accent
#B940E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B377F

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

Preview Lab → · Contrast checker → · Palette generator →

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