#1B3C79#1B3C79

#1B3C79 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.111 H 261.4°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#1B3C79
RGBrgb(27, 60, 121)
HSLhsl(219, 64%, 29%)
HSVhsv(219, 78%, 47%)
CMYKcmyk(77.7%, 50.4%, 0%, 52.5%)
CIE-LABlab(26.29, 11.33, -38.32)
CIE-LCHlch(26.29, 39.96, 286.47°)
OKLaboklab(36.83% -0.0167 -0.11)
OKLCHoklch(36.83% 0.111 261.4)
XYZxyz(5.5178, 4.8446, 18.7297)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C79 #79581B
analogous
#1B6B79 #1B3C79 #291B79
triadic
#1B3C79 #791B3C #3C791B
tetradic
#1B3C79 #791B6B #79581B #1B7929
square
#1B3C79 #791B6B #79581B #1B7929
split-complementary
#1B3C79 #79291B #6B791B
monochromatic
#060C19 #102347 #1B3C79 #2655AB #3B71D3

Accessibility & contrast

On white

10.67
#1B3C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1B3C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3C79
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C79#FFFFFF#000000##FFFFFF
##1B3C791.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3c79;
/* rgb */ color: rgb(27, 60, 121);
/* oklch */ color: oklch(36.8% 0.111 261.4);
Tailwind
colors: {
  custom: {
    50: '#6671a0',
    500: '#1b3c79',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c79;
$custom-light: #6671a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c79",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 218.936,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36829,
    "c": 0.11131,
    "h": 261.4
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#1B3C79
secondary
#AD8843
accent
#AD41E7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1B3C79

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

Preview Lab → · Contrast checker → · Palette generator →

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