#1B386E#1B386E

#1B386E is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.100 H 261.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#1B386E
RGBrgb(27, 56, 110)
HSLhsl(219, 61%, 27%)
HSVhsv(219, 75%, 43%)
CMYKcmyk(75.5%, 49.1%, 0%, 56.9%)
CIE-LABlab(24.28, 9.64, -34.55)
CIE-LCHlch(24.28, 35.87, 285.59°)
OKLaboklab(35.04% -0.0148 -0.099)
OKLCHoklch(35.04% 0.1 261.5)
XYZxyz(4.6796, 4.1866, 15.3103)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B386E #6E511B
analogous
#1B626E #1B386E #281B6E
triadic
#1B386E #6E1B38 #386E1B
tetradic
#1B386E #6E1B62 #6E511B #1B6E28
square
#1B386E #6E1B62 #6E511B #1B6E28
split-complementary
#1B386E #6E281B #626E1B
monochromatic
#060D19 #0F1F3D #1B386E #27519F #366BCE

Accessibility & contrast

On white

11.43
#1B386E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B386E
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B386E#FFFFFF#000000##FFFFFF
##1B386E1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E70
Deuteranopia (green-blind)
#08366D
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b386e;
/* rgb */ color: rgb(27, 56, 110);
/* oklch */ color: oklch(35.0% 0.100 261.5);
Tailwind
colors: {
  custom: {
    50: '#636e98',
    500: '#1b386e',
    950: '#000000',
  },
}
SCSS
$custom: #1b386e;
$custom-light: #636e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1b386e",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 110
  },
  "hsl": {
    "h": 219.036,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35039,
    "c": 0.10014,
    "h": 261.5
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#1B386E
secondary
#A38142
accent
#AC44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1B386E

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

Preview Lab → · Contrast checker → · Palette generator →

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