#1B386C#1B386C

#1B386C is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.097 H 261.0°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#1B386C
RGBrgb(27, 56, 108)
HSLhsl(219, 60%, 26%)
HSVhsv(219, 75%, 42%)
CMYKcmyk(75%, 48.1%, 0%, 57.6%)
CIE-LABlab(24.14, 8.82, -33.49)
CIE-LCHlch(24.14, 34.64, 284.76°)
OKLaboklab(34.89% -0.0151 -0.0959)
OKLCHoklch(34.89% 0.097 261)
XYZxyz(4.5720, 4.1436, 14.7433)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B386C #6C4F1B
analogous
#1B616C #1B386C #271B6C
triadic
#1B386C #6C1B38 #386C1B
tetradic
#1B386C #6C1B61 #6C4F1B #1B6C27
square
#1B386C #6C1B61 #6C4F1B #1B6C27
split-complementary
#1B386C #6C271B #616C1B
monochromatic
#060D18 #0F1F3B #1B386C #27519D #356BCC

Accessibility & contrast

On white

11.48
#1B386C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1B386C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B386C
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B386C#FFFFFF#000000##FFFFFF
##1B386C1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3D6E
Deuteranopia (green-blind)
#0D366B
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b386c;
/* rgb */ color: rgb(27, 56, 108);
/* oklch */ color: oklch(34.9% 0.097 261.0);
Tailwind
colors: {
  custom: {
    50: '#636e96',
    500: '#1b386c',
    950: '#000000',
  },
}
SCSS
$custom: #1b386c;
$custom-light: #636e96;
$custom-dark: #000000;
JSON
{
  "hex": "#1b386c",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 108
  },
  "hsl": {
    "h": 218.519,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34888,
    "c": 0.09712,
    "h": 261
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#1B386C
secondary
#A17F42
accent
#AA45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1B386C

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

Preview Lab → · Contrast checker → · Palette generator →

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