#1B386F#1B386F

#1B386F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.102 H 261.7°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#1B386F
RGBrgb(27, 56, 111)
HSLhsl(219, 61%, 27%)
HSVhsv(219, 76%, 44%)
CMYKcmyk(75.7%, 49.5%, 0%, 56.5%)
CIE-LABlab(24.35, 10.05, -35.08)
CIE-LCHlch(24.35, 36.49, 285.99°)
OKLaboklab(35.12% -0.0146 -0.1006)
OKLCHoklch(35.12% 0.102 261.7)
XYZxyz(4.7344, 4.2085, 15.5987)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B386F #6F521B
analogous
#1B626F #1B386F #281B6F
triadic
#1B386F #6F1B38 #386F1B
tetradic
#1B386F #6F1B62 #6F521B #1B6F28
square
#1B386F #6F1B62 #6F521B #1B6F28
split-complementary
#1B386F #6F281B #626F1B
monochromatic
#060C19 #0F1F3E #1B386F #2751A0 #366BCE

Accessibility & contrast

On white

11.40
#1B386F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1B386F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B386F
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B386F#FFFFFF#000000##FFFFFF
##1B386F1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E71
Deuteranopia (green-blind)
#06366E
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b386f;
/* rgb */ color: rgb(27, 56, 111);
/* oklch */ color: oklch(35.1% 0.102 261.7);
Tailwind
colors: {
  custom: {
    50: '#646e99',
    500: '#1b386f',
    950: '#000000',
  },
}
SCSS
$custom: #1b386f;
$custom-light: #646e99;
$custom-dark: #000000;
JSON
{
  "hex": "#1b386f",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 219.286,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35115,
    "c": 0.10165,
    "h": 261.7
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#1B386F
secondary
#A48242
accent
#AD44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1B386F

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

Preview Lab → · Contrast checker → · Palette generator →

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