#1B387A#1B387A

#1B387A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.118 H 263.7°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#1B387A
RGBrgb(27, 56, 122)
HSLhsl(222, 64%, 29%)
HSVhsv(222, 78%, 48%)
CMYKcmyk(77.9%, 54.1%, 0%, 52.2%)
CIE-LABlab(25.16, 14.56, -40.78)
CIE-LCHlch(25.16, 43.30, 289.65°)
OKLaboklab(35.99% -0.013 -0.1174)
OKLCHoklch(35.99% 0.118 263.7)
XYZxyz(5.3778, 4.4659, 18.9872)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B387A #7A5D1B
analogous
#1B687A #1B387A #2E1B7A
triadic
#1B387A #7A1B38 #387A1B
tetradic
#1B387A #7A1B68 #7A5D1B #1B7A2E
square
#1B387A #7A1B68 #7A5D1B #1B7A2E
split-complementary
#1B387A #7A2E1B #687A1B
monochromatic
#060C19 #102148 #1B387A #264FAC #3C6AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B387A#FFFFFF#000000##FFFFFF
##1B387A1.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)
#0B407C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b387a;
/* rgb */ color: rgb(27, 56, 122);
/* oklch */ color: oklch(36.0% 0.118 263.7);
Tailwind
colors: {
  custom: {
    50: '#666ea1',
    500: '#1b387a',
    950: '#000000',
  },
}
SCSS
$custom: #1b387a;
$custom-light: #666ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b387a",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 221.684,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35989,
    "c": 0.11809,
    "h": 263.7
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#1B387A
secondary
#AE8D43
accent
#B441E7
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B387A

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

Preview Lab → · Contrast checker → · Palette generator →

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