#1B2B79#1B2B79

#1B2B79 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.134 H 268.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#1B2B79
RGBrgb(27, 43, 121)
HSLhsl(230, 64%, 29%)
HSVhsv(230, 78%, 47%)
CMYKcmyk(77.7%, 64.5%, 0%, 52.5%)
CIE-LABlab(21.36, 23.34, -46.32)
CIE-LCHlch(21.36, 51.87, 296.75°)
OKLaboklab(33.12% -0.0028 -0.1338)
OKLCHoklch(33.12% 0.134 268.8)
XYZxyz(4.7659, 3.3407, 18.4791)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B79 #79691B
analogous
#1B5A79 #1B2B79 #3A1B79
triadic
#1B2B79 #791B2B #2B791B
tetradic
#1B2B79 #791B5A #79691B #1B793A
square
#1B2B79 #791B5A #79691B #1B793A
split-complementary
#1B2B79 #793A1B #5A791B
monochromatic
#060919 #101947 #1B2B79 #263DAB #3B55D3

Accessibility & contrast

On white

12.59
#1B2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1B2B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B79
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B79#FFFFFF#000000##FFFFFF
##1B2B791.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2b79;
/* rgb */ color: rgb(27, 43, 121);
/* oklch */ color: oklch(33.1% 0.134 268.8);
Tailwind
colors: {
  custom: {
    50: '#6764a0',
    500: '#1b2b79',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b79;
$custom-light: #6764a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b79",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 229.787,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33115,
    "c": 0.13388,
    "h": 268.8
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#1B2B79
secondary
#AD9B43
accent
#CA41E7
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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