#1B2A76#1B2A76

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

Color values

HEX#1B2A76
RGBrgb(27, 42, 118)
HSLhsl(230, 63%, 28%)
HSVhsv(230, 77%, 46%)
CMYKcmyk(77.1%, 64.4%, 0%, 53.7%)
CIE-LABlab(20.81, 22.85, -45.29)
CIE-LCHlch(20.81, 50.73, 296.77°)
OKLaboklab(32.63% -0.002 -0.1309)
OKLCHoklch(32.63% 0.131 269.1)
XYZxyz(4.5488, 3.1965, 17.5133)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A76 #76671B
analogous
#1B5776 #1B2A76 #391B76
triadic
#1B2A76 #761B2A #2A761B
tetradic
#1B2A76 #761B57 #76671B #1B7639
square
#1B2A76 #761B57 #76671B #1B7639
split-complementary
#1B2A76 #76391B #57761B
monochromatic
#060919 #101844 #1B2A76 #263CA8 #3A53D2

Accessibility & contrast

On white

12.81
#1B2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2A76
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A76#FFFFFF#000000##FFFFFF
##1B2A761.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2a76;
/* rgb */ color: rgb(27, 42, 118);
/* oklch */ color: oklch(32.6% 0.131 269.1);
Tailwind
colors: {
  custom: {
    50: '#66639e',
    500: '#1b2a76',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a76;
$custom-light: #66639e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a76",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 230.11,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32626,
    "c": 0.13088,
    "h": 269.1
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#1B2A76
secondary
#AA9942
accent
#CB42E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1B2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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