#1B386A#1B386A

#1B386A is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.094 H 260.5°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#1B386A
RGBrgb(27, 56, 106)
HSLhsl(218, 59%, 26%)
HSVhsv(218, 75%, 42%)
CMYKcmyk(74.5%, 47.2%, 0%, 58.4%)
CIE-LABlab(24.00, 8.00, -32.42)
CIE-LCHlch(24.00, 33.40, 283.87°)
OKLaboklab(34.74% -0.0155 -0.0928)
OKLCHoklch(34.74% 0.094 260.5)
XYZxyz(4.4668, 4.1015, 14.1891)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B386A #6A4D1B
analogous
#1B5F6A #1B386A #261B6A
triadic
#1B386A #6A1B38 #386A1B
tetradic
#1B386A #6A1B5F #6A4D1B #1B6A26
square
#1B386A #6A1B5F #6A4D1B #1B6A26
split-complementary
#1B386A #6A261B #5F6A1B
monochromatic
#060D18 #0F1E39 #1B386A #27529B #346CCB

Accessibility & contrast

On white

11.54
#1B386A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1B386A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B386A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B386A#FFFFFF#000000##FFFFFF
##1B386A1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3D6C
Deuteranopia (green-blind)
#103669
Tritanopia (blue-blind)
#00444B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b386a;
/* rgb */ color: rgb(27, 56, 106);
/* oklch */ color: oklch(34.7% 0.094 260.5);
Tailwind
colors: {
  custom: {
    50: '#626e95',
    500: '#1b386a',
    950: '#000000',
  },
}
SCSS
$custom: #1b386a;
$custom-light: #626e95;
$custom-dark: #000000;
JSON
{
  "hex": "#1b386a",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 217.975,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34739,
    "c": 0.09408,
    "h": 260.5
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#1B386A
secondary
#9F7D42
accent
#A945E3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1B386A

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

Preview Lab → · Contrast checker → · Palette generator →

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