#1B377E#1B377E

#1B377E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.1% C 0.125 H 264.6°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#1B377E
RGBrgb(27, 55, 126)
HSLhsl(223, 65%, 30%)
HSVhsv(223, 79%, 49%)
CMYKcmyk(78.6%, 56.3%, 0%, 50.6%)
CIE-LABlab(25.17, 16.90, -43.28)
CIE-LCHlch(25.17, 46.46, 291.33°)
OKLaboklab(36.1% -0.0118 -0.1247)
OKLCHoklch(36.1% 0.125 264.6)
XYZxyz(5.5827, 4.4711, 20.3034)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B377E #7E621B
analogous
#1B697E #1B377E #301B7E
triadic
#1B377E #7E1B37 #377E1B
tetradic
#1B377E #7E1B69 #7E621B #1B7E30
square
#1B377E #7E1B69 #7E621B #1B7E30
split-complementary
#1B377E #7E301B #697E1B
monochromatic
#050B19 #10214C #1B377E #264DB0 #3E69D6

Accessibility & contrast

On white

11.09
#1B377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B377E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B377E#FFFFFF#000000##FFFFFF
##1B377E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b377e;
/* rgb */ color: rgb(27, 55, 126);
/* oklch */ color: oklch(36.1% 0.125 264.6);
Tailwind
colors: {
  custom: {
    50: '#676da4',
    500: '#1b377e',
    950: '#000000',
  },
}
SCSS
$custom: #1b377e;
$custom-light: #676da4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b377e",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 223.03,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.36099,
    "c": 0.12529,
    "h": 264.6
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#1B377E
secondary
#B29243
accent
#B840E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B377E

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

Preview Lab → · Contrast checker → · Palette generator →

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