#1B2C7A#1B2C7A

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

Color values

HEX#1B2C7A
RGBrgb(27, 44, 122)
HSLhsl(229, 64%, 29%)
HSVhsv(229, 78%, 48%)
CMYKcmyk(77.9%, 63.9%, 0%, 52.2%)
CIE-LABlab(21.72, 23.04, -46.36)
CIE-LCHlch(21.72, 51.77, 296.43°)
OKLaboklab(33.41% -0.0035 -0.134)
OKLCHoklch(33.41% 0.134 268.5)
XYZxyz(4.8643, 3.4390, 18.8160)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C7A #7A691B
analogous
#1B5C7A #1B2C7A #3A1B7A
triadic
#1B2C7A #7A1B2C #2C7A1B
tetradic
#1B2C7A #7A1B5C #7A691B #1B7A3A
square
#1B2C7A #7A1B5C #7A691B #1B7A3A
split-complementary
#1B2C7A #7A3A1B #5C7A1B
monochromatic
#060919 #101A48 #1B2C7A #263EAC #3C57D4

Accessibility & contrast

On white

12.44
#1B2C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B2C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C7A
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C7A#FFFFFF#000000##FFFFFF
##1B2C7A1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2c7a;
/* rgb */ color: rgb(27, 44, 122);
/* oklch */ color: oklch(33.4% 0.134 268.5);
Tailwind
colors: {
  custom: {
    50: '#6764a1',
    500: '#1b2c7a',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c7a;
$custom-light: #6764a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c7a",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 229.263,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33411,
    "c": 0.13402,
    "h": 268.5
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B2C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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