#1B3C8A#1B3C8A

#1B3C8A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.136 H 263.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#1B3C8A
RGBrgb(27, 60, 138)
HSLhsl(222, 67%, 32%)
HSVhsv(222, 80%, 54%)
CMYKcmyk(80.4%, 56.5%, 0%, 45.9%)
CIE-LABlab(27.57, 18.27, -46.88)
CIE-LCHlch(27.57, 50.31, 291.29°)
OKLaboklab(38.21% -0.0147 -0.1352)
OKLCHoklch(38.21% 0.136 263.8)
XYZxyz(6.6537, 5.2989, 24.7120)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C8A #8A691B
analogous
#1B748A #1B3C8A #311B8A
triadic
#1B3C8A #8A1B3C #3C8A1B
tetradic
#1B3C8A #8A1B74 #8A691B #1B8A31
square
#1B3C8A #8A1B74 #8A691B #1B8A31
split-complementary
#1B3C8A #8A311B #748A1B
monochromatic
#070F24 #112657 #1B3C8A #2552BD #4571DB

Accessibility & contrast

On white

10.19
#1B3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1B3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3C8A
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C8A#FFFFFF#000000##FFFFFF
##1B3C8A1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3c8a;
/* rgb */ color: rgb(27, 60, 138);
/* oklch */ color: oklch(38.2% 0.136 263.8);
Tailwind
colors: {
  custom: {
    50: '#6a71ad',
    500: '#1b3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c8a;
$custom-light: #6a71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c8a",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 222.162,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38212,
    "c": 0.13601,
    "h": 263.8
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#1B3C8A
secondary
#BC9945
accent
#B73EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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