#1B2C79#1B2C79

#1B2C79 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.133 H 268.5°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#1B2C79
RGBrgb(27, 44, 121)
HSLhsl(229, 64%, 29%)
HSVhsv(229, 78%, 47%)
CMYKcmyk(77.7%, 63.6%, 0%, 52.5%)
CIE-LABlab(21.63, 22.64, -45.87)
CIE-LCHlch(21.63, 51.16, 296.27°)
OKLaboklab(33.32% -0.0035 -0.1325)
OKLCHoklch(33.32% 0.133 268.5)
XYZxyz(4.8027, 3.4143, 18.4914)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C79 #79681B
analogous
#1B5B79 #1B2C79 #391B79
triadic
#1B2C79 #791B2C #2C791B
tetradic
#1B2C79 #791B5B #79681B #1B7939
square
#1B2C79 #791B5B #79681B #1B7939
split-complementary
#1B2C79 #79391B #5B791B
monochromatic
#060919 #101A47 #1B2C79 #263EAB #3B57D3

Accessibility & contrast

On white

12.48
#1B2C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B2C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C79
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C79#FFFFFF#000000##FFFFFF
##1B2C791.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2c79;
/* rgb */ color: rgb(27, 44, 121);
/* oklch */ color: oklch(33.3% 0.133 268.5);
Tailwind
colors: {
  custom: {
    50: '#6764a0',
    500: '#1b2c79',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c79;
$custom-light: #6764a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c79",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 229.149,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33316,
    "c": 0.13258,
    "h": 268.5
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#1B2C79
secondary
#AD9A43
accent
#C941E7
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1B2C79

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

Preview Lab → · Contrast checker → · Palette generator →

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