#1B3979#1B3979

#1B3979 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.115 H 263.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#1B3979
RGBrgb(27, 57, 121)
HSLhsl(221, 64%, 29%)
HSVhsv(221, 78%, 47%)
CMYKcmyk(77.7%, 52.9%, 0%, 52.5%)
CIE-LABlab(25.38, 13.44, -39.79)
CIE-LCHlch(25.38, 41.99, 288.67°)
OKLaboklab(36.14% -0.014 -0.1144)
OKLCHoklch(36.14% 0.115 263)
XYZxyz(5.3651, 4.5391, 18.6788)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3979 #795B1B
analogous
#1B6879 #1B3979 #2C1B79
triadic
#1B3979 #791B39 #39791B
tetradic
#1B3979 #791B68 #795B1B #1B792C
square
#1B3979 #791B68 #795B1B #1B792C
split-complementary
#1B3979 #792C1B #68791B
monochromatic
#060C19 #102147 #1B3979 #2651AB #3B6CD3

Accessibility & contrast

On white

11.01
#1B3979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1B3979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3979
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3979#FFFFFF#000000##FFFFFF
##1B39791.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b3979;
/* rgb */ color: rgb(27, 57, 121);
/* oklch */ color: oklch(36.1% 0.115 263.0);
Tailwind
colors: {
  custom: {
    50: '#666ea0',
    500: '#1b3979',
    950: '#000000',
  },
}
SCSS
$custom: #1b3979;
$custom-light: #666ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3979",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 220.851,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36135,
    "c": 0.11527,
    "h": 263
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#1B3979
secondary
#AD8B43
accent
#B241E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1B3979

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

Preview Lab → · Contrast checker → · Palette generator →

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