#1B3C8B#1B3C8B

#1B3C8B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.137 H 263.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#1B3C8B
RGBrgb(27, 60, 139)
HSLhsl(222, 67%, 33%)
HSVhsv(222, 81%, 55%)
CMYKcmyk(80.6%, 56.8%, 0%, 45.5%)
CIE-LABlab(27.65, 18.67, -47.37)
CIE-LCHlch(27.65, 50.91, 291.51°)
OKLaboklab(38.3% -0.0146 -0.1367)
OKLCHoklch(38.3% 0.137 263.9)
XYZxyz(6.7264, 5.3280, 25.0950)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C8B #8B6A1B
analogous
#1B748B #1B3C8B #321B8B
triadic
#1B3C8B #8B1B3C #3C8B1B
tetradic
#1B3C8B #8B1B74 #8B6A1B #1B8B32
square
#1B3C8B #8B1B74 #8B6A1B #1B8B32
split-complementary
#1B3C8B #8B321B #748B1B
monochromatic
#071025 #112658 #1B3C8B #2552BE #4571DB

Accessibility & contrast

On white

10.17
#1B3C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1B3C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3C8B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C8B#FFFFFF#000000##FFFFFF
##1B3C8B1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3c8b;
/* rgb */ color: rgb(27, 60, 139);
/* oklch */ color: oklch(38.3% 0.137 263.9);
Tailwind
colors: {
  custom: {
    50: '#6b71ae',
    500: '#1b3c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c8b;
$custom-light: #6b71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c8b",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 222.321,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.13744,
    "h": 263.9
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B3C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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