#1B43AA#1B43AA

#1B43AA is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.171 H 264.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#1B43AA
RGBrgb(27, 67, 170)
HSLhsl(223, 73%, 39%)
HSVhsv(223, 84%, 67%)
CMYKcmyk(84.1%, 60.6%, 0%, 33.3%)
CIE-LABlab(32.14, 26.25, -58.90)
CIE-LCHlch(32.14, 64.48, 294.02°)
OKLaboklab(42.47% -0.0175 -0.1704)
OKLCHoklch(42.47% 0.171 264.1)
XYZxyz(9.7123, 7.1484, 38.8903)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B43AA #AA821B
analogous
#1B8AAA #1B43AA #3A1BAA
triadic
#1B43AA #AA1B43 #43AA1B
tetradic
#1B43AA #AA1B8A #AA821B #1BAA3A
square
#1B43AA #AA1B8A #AA821B #1BAA3A
split-complementary
#1B43AA #AA3A1B #8AAA1B
monochromatic
#0A1940 #132E75 #1B43AA #2659DC #5B81E5

Accessibility & contrast

On white

8.64
#1B43AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1B43AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B43AA
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B43AA#FFFFFF#000000##FFFFFF
##1B43AA1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b43aa;
/* rgb */ color: rgb(27, 67, 170);
/* oklch */ color: oklch(42.5% 0.171 264.1);
Tailwind
colors: {
  custom: {
    50: '#7276c4',
    500: '#1b43aa',
    950: '#000000',
  },
}
SCSS
$custom: #1b43aa;
$custom-light: #7276c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b43aa",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 223.217,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4247,
    "c": 0.17131,
    "h": 264.1
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#1B43AA
secondary
#C9A958
accent
#BC39EF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1B43AA

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

Preview Lab → · Contrast checker → · Palette generator →

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