#1B3C8E#1B3C8E

#1B3C8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.142 H 264.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#1B3C8E
RGBrgb(27, 60, 142)
HSLhsl(223, 68%, 33%)
HSVhsv(223, 81%, 56%)
CMYKcmyk(81%, 57.7%, 0%, 44.3%)
CIE-LABlab(27.89, 19.88, -48.83)
CIE-LCHlch(27.89, 52.72, 292.16°)
OKLaboklab(38.56% -0.0144 -0.141)
OKLCHoklch(38.56% 0.142 264.2)
XYZxyz(6.9486, 5.4169, 26.2653)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C8E #8E6D1B
analogous
#1B758E #1B3C8E #341B8E
triadic
#1B3C8E #8E1B3C #3C8E1B
tetradic
#1B3C8E #8E1B75 #8E6D1B #1B8E34
square
#1B3C8E #8E1B75 #8E6D1B #1B8E34
split-complementary
#1B3C8E #8E341B #758E1B
monochromatic
#071127 #11265B #1B3C8E #2552C1 #4772DC

Accessibility & contrast

On white

10.08
#1B3C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3C8E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C8E#FFFFFF#000000##FFFFFF
##1B3C8E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3c8e;
/* rgb */ color: rgb(27, 60, 142);
/* oklch */ color: oklch(38.6% 0.142 264.2);
Tailwind
colors: {
  custom: {
    50: '#6b71b0',
    500: '#1b3c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c8e;
$custom-light: #6b71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c8e",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 222.783,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.14169,
    "h": 264.2
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#1B3C8E
secondary
#BE9C47
accent
#B93DEB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1B3C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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