#1B387E#1B387E

#1B387E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.3% C 0.124 H 264.2°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#1B387E
RGBrgb(27, 56, 126)
HSLhsl(222, 65%, 30%)
HSVhsv(222, 79%, 49%)
CMYKcmyk(78.6%, 55.6%, 0%, 50.6%)
CIE-LABlab(25.46, 16.19, -42.80)
CIE-LCHlch(25.46, 45.76, 290.72°)
OKLaboklab(36.32% -0.0126 -0.1233)
OKLCHoklch(36.32% 0.124 264.2)
XYZxyz(5.6307, 4.5671, 20.3194)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B387E #7E611B
analogous
#1B6A7E #1B387E #2F1B7E
triadic
#1B387E #7E1B38 #387E1B
tetradic
#1B387E #7E1B6A #7E611B #1B7E2F
square
#1B387E #7E1B6A #7E611B #1B7E2F
split-complementary
#1B387E #7E2F1B #6A7E1B
monochromatic
#050B19 #10224C #1B387E #264EB0 #3E6AD6

Accessibility & contrast

On white

10.97
#1B387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1B387E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B387E
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B387E#FFFFFF#000000##FFFFFF
##1B387E1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024180
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b387e;
/* rgb */ color: rgb(27, 56, 126);
/* oklch */ color: oklch(36.3% 0.124 264.2);
Tailwind
colors: {
  custom: {
    50: '#676ea4',
    500: '#1b387e',
    950: '#000000',
  },
}
SCSS
$custom: #1b387e;
$custom-light: #676ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b387e",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 222.424,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.3632,
    "c": 0.12396,
    "h": 264.2
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#1B387E
secondary
#B29143
accent
#B740E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B387E

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

Preview Lab → · Contrast checker → · Palette generator →

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