#1B377B#1B377B

#1B377B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.8% C 0.121 H 264.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#1B377B
RGBrgb(27, 55, 123)
HSLhsl(223, 64%, 29%)
HSVhsv(223, 78%, 48%)
CMYKcmyk(78%, 55.3%, 0%, 51.8%)
CIE-LABlab(24.94, 15.67, -41.77)
CIE-LCHlch(24.94, 44.61, 290.57°)
OKLaboklab(35.85% -0.0121 -0.1203)
OKLCHoklch(35.85% 0.121 264.3)
XYZxyz(5.3921, 4.3949, 19.2992)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B377B #7B5F1B
analogous
#1B677B #1B377B #2F1B7B
triadic
#1B377B #7B1B37 #377B1B
tetradic
#1B377B #7B1B67 #7B5F1B #1B7B2F
square
#1B377B #7B1B67 #7B5F1B #1B7B2F
split-complementary
#1B377B #7B2F1B #677B1B
monochromatic
#060B19 #102149 #1B377B #264DAD #3C69D4

Accessibility & contrast

On white

11.18
#1B377B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1B377B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B377B
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B377B#FFFFFF#000000##FFFFFF
##1B377B1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407D
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b377b;
/* rgb */ color: rgb(27, 55, 123);
/* oklch */ color: oklch(35.8% 0.121 264.3);
Tailwind
colors: {
  custom: {
    50: '#676da2',
    500: '#1b377b',
    950: '#000000',
  },
}
SCSS
$custom: #1b377b;
$custom-light: #676da2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b377b",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 222.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35846,
    "c": 0.12089,
    "h": 264.3
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#1B377B
secondary
#AF8F43
accent
#B741E7
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B377B

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

Preview Lab → · Contrast checker → · Palette generator →

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