#1B2BA1#1B2BA1

#1B2BA1 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.187 H 268.2°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#1B2BA1
RGBrgb(27, 43, 161)
HSLhsl(233, 71%, 37%)
HSVhsv(233, 83%, 63%)
CMYKcmyk(83.2%, 73.3%, 0%, 36.9%)
CIE-LABlab(25.36, 38.51, -64.61)
CIE-LCHlch(25.36, 75.22, 300.79°)
OKLaboklab(37.24% -0.0059 -0.1872)
OKLCHoklch(37.24% 0.187 268.2)
XYZxyz(7.7467, 4.5330, 34.1780)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2BA1 #A1911B
analogous
#1B6EA1 #1B2BA1 #4E1BA1
triadic
#1B2BA1 #A11B2B #2BA11B
tetradic
#1B2BA1 #A11B6E #A1911B #1BA14E
square
#1B2BA1 #A11B6E #A1911B #1BA14E
split-complementary
#1B2BA1 #A14E1B #6EA11B
monochromatic
#090F38 #121D6D #1B2BA1 #2439D5 #5465E2

Accessibility & contrast

On white

11.01
#1B2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1B2BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2BA1
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2BA1#FFFFFF#000000##FFFFFF
##1B2BA11.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2ba1;
/* rgb */ color: rgb(27, 43, 161);
/* oklch */ color: oklch(37.2% 0.187 268.2);
Tailwind
colors: {
  custom: {
    50: '#7265be',
    500: '#1b2ba1',
    950: '#000000',
  },
}
SCSS
$custom: #1b2ba1;
$custom-light: #7265be;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2ba1",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 232.836,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37237,
    "c": 0.18734,
    "h": 268.2
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B2BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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