#1B3C8F#1B3C8F

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

Color values

HEX#1B3C8F
RGBrgb(27, 60, 143)
HSLhsl(223, 68%, 33%)
HSVhsv(223, 81%, 56%)
CMYKcmyk(81.1%, 58%, 0%, 43.9%)
CIE-LABlab(27.97, 20.29, -49.31)
CIE-LCHlch(27.97, 53.32, 292.36°)
OKLaboklab(38.64% -0.0143 -0.1424)
OKLCHoklch(38.64% 0.143 264.3)
XYZxyz(7.0240, 5.4471, 26.6625)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C8F #8F6E1B
analogous
#1B768F #1B3C8F #341B8F
triadic
#1B3C8F #8F1B3C #3C8F1B
tetradic
#1B3C8F #8F1B76 #8F6E1B #1B8F34
square
#1B3C8F #8F1B76 #8F6E1B #1B8F34
split-complementary
#1B3C8F #8F341B #768F1B
monochromatic
#081128 #11265C #1B3C8F #2552C2 #4872DC

Accessibility & contrast

On white

10.05
#1B3C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1B3C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3C8F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C8F#FFFFFF#000000##FFFFFF
##1B3C8F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3c8f;
/* rgb */ color: rgb(27, 60, 143);
/* oklch */ color: oklch(38.6% 0.143 264.3);
Tailwind
colors: {
  custom: {
    50: '#6c71b0',
    500: '#1b3c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c8f;
$custom-light: #6c71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c8f",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 222.931,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38642,
    "c": 0.1431,
    "h": 264.3
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#1B3C8F
secondary
#BE9C48
accent
#B93DEB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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