#1B3C8D#1B3C8D

#1B3C8D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.140 H 264.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#1B3C8D
RGBrgb(27, 60, 141)
HSLhsl(223, 68%, 33%)
HSVhsv(223, 81%, 55%)
CMYKcmyk(80.9%, 57.4%, 0%, 44.7%)
CIE-LABlab(27.81, 19.48, -48.34)
CIE-LCHlch(27.81, 52.12, 291.95°)
OKLaboklab(38.47% -0.0144 -0.1395)
OKLCHoklch(38.47% 0.14 264.1)
XYZxyz(6.8739, 5.3870, 25.8717)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C8D #8D6C1B
analogous
#1B758D #1B3C8D #331B8D
triadic
#1B3C8D #8D1B3C #3C8D1B
tetradic
#1B3C8D #8D1B75 #8D6C1B #1B8D33
square
#1B3C8D #8D1B75 #8D6C1B #1B8D33
split-complementary
#1B3C8D #8D331B #758D1B
monochromatic
#071026 #11265A #1B3C8D #2552C0 #4772DC

Accessibility & contrast

On white

10.11
#1B3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1B3C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3C8D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C8D#FFFFFF#000000##FFFFFF
##1B3C8D1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3c8d;
/* rgb */ color: rgb(27, 60, 141);
/* oklch */ color: oklch(38.5% 0.140 264.1);
Tailwind
colors: {
  custom: {
    50: '#6b71af',
    500: '#1b3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c8d;
$custom-light: #6b71af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c8d",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 222.632,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38469,
    "c": 0.14027,
    "h": 264.1
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#1B3C8D
secondary
#BD9B46
accent
#B83DEB
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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