#1B41B0#1B41B0

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

Color values

HEX#1B41B0
RGBrgb(27, 65, 176)
HSLhsl(225, 73%, 40%)
HSVhsv(225, 85%, 69%)
CMYKcmyk(84.7%, 63.1%, 0%, 31%)
CIE-LABlab(32.14, 29.92, -62.48)
CIE-LCHlch(32.14, 69.28, 295.59°)
OKLaboklab(42.63% -0.0163 -0.1809)
OKLCHoklch(42.63% 0.182 264.8)
XYZxyz(10.1760, 7.1469, 41.9090)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B41B0 #B08A1B
analogous
#1B8CB0 #1B41B0 #401BB0
triadic
#1B41B0 #B01B41 #41B01B
tetradic
#1B41B0 #B01B8C #B08A1B #1BB040
square
#1B41B0 #B01B8C #B08A1B #1BB040
split-complementary
#1B41B0 #B0401B #8CB01B
monochromatic
#0B1A46 #132D7B #1B41B0 #2A58DE #5F82E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B41B0#FFFFFF#000000##FFFFFF
##1B41B01.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)
#0053B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b41b0;
/* rgb */ color: rgb(27, 65, 176);
/* oklch */ color: oklch(42.6% 0.182 264.8);
Tailwind
colors: {
  custom: {
    50: '#7475c9',
    500: '#1b41b0',
    950: '#000000',
  },
}
SCSS
$custom: #1b41b0;
$custom-light: #7475c9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b41b0",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 224.698,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42629,
    "c": 0.18168,
    "h": 264.8
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#1B41B0
secondary
#CBAE5C
accent
#C138F0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1B41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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