#1B3C9F#1B3C9F

#1B3C9F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.165 H 265.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#1B3C9F
RGBrgb(27, 60, 159)
HSLhsl(225, 71%, 36%)
HSVhsv(225, 83%, 62%)
CMYKcmyk(83%, 62.3%, 0%, 37.6%)
CIE-LABlab(29.33, 26.66, -56.87)
CIE-LCHlch(29.33, 62.81, 295.11°)
OKLaboklab(40.08% -0.0137 -0.1646)
OKLCHoklch(40.08% 0.165 265.2)
XYZxyz(8.3236, 5.9669, 33.5072)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C9F #9F7E1B
analogous
#1B7E9F #1B3C9F #3C1B9F
triadic
#1B3C9F #9F1B3C #3C9F1B
tetradic
#1B3C9F #9F1B7E #9F7E1B #1B9F3C
square
#1B3C9F #9F1B7E #9F7E1B #1B9F3C
split-complementary
#1B3C9F #9F3C1B #7E9F1B
monochromatic
#091536 #12286B #1B3C9F #2450D3 #5376E2

Accessibility & contrast

On white

9.57
#1B3C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1B3C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3C9F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C9F#FFFFFF#000000##FFFFFF
##1B3C9F1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b3c9f;
/* rgb */ color: rgb(27, 60, 159);
/* oklch */ color: oklch(40.1% 0.165 265.2);
Tailwind
colors: {
  custom: {
    50: '#7071bc',
    500: '#1b3c9f',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c9f;
$custom-light: #7071bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c9f",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 159
  },
  "hsl": {
    "h": 225,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40079,
    "c": 0.16515,
    "h": 265.2
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#1B3C9F
secondary
#C5A851
accent
#C13AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B3C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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