#1B387C#1B387C

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

Color values

HEX#1B387C
RGBrgb(27, 56, 124)
HSLhsl(222, 64%, 30%)
HSVhsv(222, 78%, 49%)
CMYKcmyk(78.2%, 54.8%, 0%, 51.4%)
CIE-LABlab(25.31, 15.37, -41.79)
CIE-LCHlch(25.31, 44.53, 290.20°)
OKLaboklab(36.15% -0.0128 -0.1203)
OKLCHoklch(36.15% 0.121 263.9)
XYZxyz(5.5030, 4.5160, 19.6465)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B387C #7C5F1B
analogous
#1B697C #1B387C #2F1B7C
triadic
#1B387C #7C1B38 #387C1B
tetradic
#1B387C #7C1B69 #7C5F1B #1B7C2F
square
#1B387C #7C1B69 #7C5F1B #1B7C2F
split-complementary
#1B387C #7C2F1B #697C1B
monochromatic
#050B19 #10214A #1B387C #264FAE #3D6AD5

Accessibility & contrast

On white

11.03
#1B387C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B387C
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B387C#FFFFFF#000000##FFFFFF
##1B387C1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07417E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b387c;
/* rgb */ color: rgb(27, 56, 124);
/* oklch */ color: oklch(36.2% 0.121 263.9);
Tailwind
colors: {
  custom: {
    50: '#676ea2',
    500: '#1b387c',
    950: '#000000',
  },
}
SCSS
$custom: #1b387c;
$custom-light: #676ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b387c",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 222.062,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36154,
    "c": 0.12103,
    "h": 263.9
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#1B387C
secondary
#B08F43
accent
#B541E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B387C

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

Preview Lab → · Contrast checker → · Palette generator →

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