#1B2AA0#1B2AA0

#1B2AA0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.187 H 268.3°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#1B2AA0
RGBrgb(27, 42, 160)
HSLhsl(233, 71%, 37%)
HSVhsv(233, 83%, 63%)
CMYKcmyk(83.1%, 73.8%, 0%, 37.3%)
CIE-LABlab(25.03, 38.76, -64.54)
CIE-LCHlch(25.03, 75.29, 300.98°)
OKLaboklab(36.97% -0.0054 -0.187)
OKLCHoklch(36.97% 0.187 268.3)
XYZxyz(7.6229, 4.4261, 33.7034)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2AA0 #A0911B
analogous
#1B6DA0 #1B2AA0 #4F1BA0
triadic
#1B2AA0 #A01B2A #2AA01B
tetradic
#1B2AA0 #A01B6D #A0911B #1BA04F
square
#1B2AA0 #A01B6D #A0911B #1BA04F
split-complementary
#1B2AA0 #A04F1B #6DA01B
monochromatic
#090F37 #121C6C #1B2AA0 #2438D4 #5363E2

Accessibility & contrast

On white

11.14
#1B2AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1B2AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2AA0
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2AA0#FFFFFF#000000##FFFFFF
##1B2AA01.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b2aa0;
/* rgb */ color: rgb(27, 42, 160);
/* oklch */ color: oklch(37.0% 0.187 268.3);
Tailwind
colors: {
  custom: {
    50: '#7264bd',
    500: '#1b2aa0',
    950: '#000000',
  },
}
SCSS
$custom: #1b2aa0;
$custom-light: #7264bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2aa0",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 233.233,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36969,
    "c": 0.18713,
    "h": 268.3
  },
  "luminance": 0.04427
}

Semantic roles & 50–950 ramp

primary
#1B2AA0
secondary
#C5B852
accent
#DA3AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1B2AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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