#1B41AA#1B41AA

#1B41AA is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.174 H 264.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#1B41AA
RGBrgb(27, 65, 170)
HSLhsl(224, 73%, 39%)
HSVhsv(224, 84%, 67%)
CMYKcmyk(84.1%, 61.8%, 0%, 33.3%)
CIE-LABlab(31.61, 27.59, -59.77)
CIE-LCHlch(31.61, 65.83, 294.78°)
OKLaboklab(42.08% -0.0164 -0.173)
OKLCHoklch(42.08% 0.174 264.6)
XYZxyz(9.5954, 6.9147, 38.8514)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B41AA #AA841B
analogous
#1B88AA #1B41AA #3C1BAA
triadic
#1B41AA #AA1B41 #41AA1B
tetradic
#1B41AA #AA1B88 #AA841B #1BAA3C
square
#1B41AA #AA1B88 #AA841B #1BAA3C
split-complementary
#1B41AA #AA3C1B #88AA1B
monochromatic
#0A1940 #132D75 #1B41AA #2656DC #5B7FE5

Accessibility & contrast

On white

8.81
#1B41AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1B41AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B41AA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B41AA#FFFFFF#000000##FFFFFF
##1B41AA1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b41aa;
/* rgb */ color: rgb(27, 65, 170);
/* oklch */ color: oklch(42.1% 0.174 264.6);
Tailwind
colors: {
  custom: {
    50: '#7275c4',
    500: '#1b41aa',
    950: '#000000',
  },
}
SCSS
$custom: #1b41aa;
$custom-light: #7275c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b41aa",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 224.056,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.17375,
    "h": 264.6
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#1B41AA
secondary
#C9AB58
accent
#BF39EF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1B41AA

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

Preview Lab → · Contrast checker → · Palette generator →

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