#1B2A77#1B2A77

#1B2A77 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.132 H 269.1°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#1B2A77
RGBrgb(27, 42, 119)
HSLhsl(230, 63%, 29%)
HSVhsv(230, 77%, 47%)
CMYKcmyk(77.3%, 64.7%, 0%, 53.3%)
CIE-LABlab(20.91, 23.25, -45.78)
CIE-LCHlch(20.91, 51.35, 296.92°)
OKLaboklab(32.72% -0.002 -0.1323)
OKLCHoklch(32.72% 0.132 269.1)
XYZxyz(4.6086, 3.2204, 17.8279)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A77 #77681B
analogous
#1B5877 #1B2A77 #3A1B77
triadic
#1B2A77 #771B2A #2A771B
tetradic
#1B2A77 #771B58 #77681B #1B773A
square
#1B2A77 #771B58 #77681B #1B773A
split-complementary
#1B2A77 #773A1B #58771B
monochromatic
#060919 #101845 #1B2A77 #263CA9 #3A53D2

Accessibility & contrast

On white

12.77
#1B2A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1B2A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A77
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A77#FFFFFF#000000##FFFFFF
##1B2A771.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2a77;
/* rgb */ color: rgb(27, 42, 119);
/* oklch */ color: oklch(32.7% 0.132 269.1);
Tailwind
colors: {
  custom: {
    50: '#67639f',
    500: '#1b2a77',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a77;
$custom-light: #67639f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a77",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 230.217,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32722,
    "c": 0.13232,
    "h": 269.1
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#1B2A77
secondary
#AB9A42
accent
#CB42E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1B2A77

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

Preview Lab → · Contrast checker → · Palette generator →

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