#1B2379#1B2379

#1B2379 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.144 H 271.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#1B2379
RGBrgb(27, 35, 121)
HSLhsl(235, 64%, 29%)
HSVhsv(235, 78%, 47%)
CMYKcmyk(77.7%, 71.1%, 0%, 52.5%)
CIE-LABlab(19.29, 28.82, -49.72)
CIE-LCHlch(19.29, 57.46, 300.10°)
OKLaboklab(31.6% 0.0024 -0.1438)
OKLCHoklch(31.6% 0.144 271)
XYZxyz(4.5030, 2.8151, 18.3915)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2379 #79711B
analogous
#1B5279 #1B2379 #421B79
triadic
#1B2379 #791B23 #23791B
tetradic
#1B2379 #791B52 #79711B #1B7942
square
#1B2379 #791B52 #79711B #1B7942
split-complementary
#1B2379 #79421B #52791B
monochromatic
#060719 #101547 #1B2379 #2631AB #3B48D3

Accessibility & contrast

On white

13.43
#1B2379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B2379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2379
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2379#FFFFFF#000000##FFFFFF
##1B23791.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2379;
/* rgb */ color: rgb(27, 35, 121);
/* oklch */ color: oklch(31.6% 0.144 271.0);
Tailwind
colors: {
  custom: {
    50: '#685ea1',
    500: '#1b2379',
    950: '#000000',
  },
}
SCSS
$custom: #1b2379;
$custom-light: #685ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2379",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 234.894,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31598,
    "c": 0.14387,
    "h": 271
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#1B2379
secondary
#ADA443
accent
#D841E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B2379

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

Preview Lab → · Contrast checker → · Palette generator →

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