#1B2AA1#1B2AA1

#1B2AA1 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.188 H 268.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#1B2AA1
RGBrgb(27, 42, 161)
HSLhsl(233, 71%, 37%)
HSVhsv(233, 83%, 63%)
CMYKcmyk(83.2%, 73.9%, 0%, 36.9%)
CIE-LABlab(25.14, 39.12, -64.97)
CIE-LCHlch(25.14, 75.84, 301.05°)
OKLaboklab(37.08% -0.0056 -0.1883)
OKLCHoklch(37.08% 0.188 268.3)
XYZxyz(7.7108, 4.4612, 34.1660)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2AA1 #A1921B
analogous
#1B6DA1 #1B2AA1 #4F1BA1
triadic
#1B2AA1 #A11B2A #2AA11B
tetradic
#1B2AA1 #A11B6D #A1921B #1BA14F
square
#1B2AA1 #A11B6D #A1921B #1BA14F
split-complementary
#1B2AA1 #A14F1B #6DA11B
monochromatic
#090F38 #121C6D #1B2AA1 #2438D5 #5464E2

Accessibility & contrast

On white

11.10
#1B2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2AA1
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2AA1#FFFFFF#000000##FFFFFF
##1B2AA11.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b2aa1;
/* rgb */ color: rgb(27, 42, 161);
/* oklch */ color: oklch(37.1% 0.188 268.3);
Tailwind
colors: {
  custom: {
    50: '#7264be',
    500: '#1b2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #1b2aa1;
$custom-light: #7264be;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2aa1",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 233.284,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37079,
    "c": 0.18838,
    "h": 268.3
  },
  "luminance": 0.04462
}

Semantic roles & 50–950 ramp

primary
#1B2AA1
secondary
#C5B852
accent
#DA3AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #1B2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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