#1B387B#1B387B

#1B387B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.120 H 263.8°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#1B387B
RGBrgb(27, 56, 123)
HSLhsl(222, 64%, 29%)
HSVhsv(222, 78%, 48%)
CMYKcmyk(78%, 54.5%, 0%, 51.8%)
CIE-LABlab(25.23, 14.97, -41.29)
CIE-LCHlch(25.23, 43.92, 289.92°)
OKLaboklab(36.07% -0.0129 -0.1189)
OKLCHoklch(36.07% 0.12 263.8)
XYZxyz(5.4400, 4.4908, 19.3152)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B387B #7B5E1B
analogous
#1B687B #1B387B #2E1B7B
triadic
#1B387B #7B1B38 #387B1B
tetradic
#1B387B #7B1B68 #7B5E1B #1B7B2E
square
#1B387B #7B1B68 #7B5E1B #1B7B2E
split-complementary
#1B387B #7B2E1B #687B1B
monochromatic
#060B19 #102149 #1B387B #264FAD #3C6AD4

Accessibility & contrast

On white

11.06
#1B387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B387B
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B387B#FFFFFF#000000##FFFFFF
##1B387B1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09407D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b387b;
/* rgb */ color: rgb(27, 56, 123);
/* oklch */ color: oklch(36.1% 0.120 263.8);
Tailwind
colors: {
  custom: {
    50: '#676ea2',
    500: '#1b387b',
    950: '#000000',
  },
}
SCSS
$custom: #1b387b;
$custom-light: #676ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b387b",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 221.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36071,
    "c": 0.11956,
    "h": 263.8
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#1B387B
secondary
#AF8E43
accent
#B541E7
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B387B

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

Preview Lab → · Contrast checker → · Palette generator →

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