#1B45BB#1B45BB

#1B45BB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.191 H 264.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#1B45BB
RGBrgb(27, 69, 187)
HSLhsl(224, 75%, 42%)
HSVhsv(224, 86%, 73%)
CMYKcmyk(85.6%, 63.1%, 0%, 26.7%)
CIE-LABlab(34.14, 31.51, -65.72)
CIE-LCHlch(34.14, 72.88, 295.62°)
OKLaboklab(44.41% -0.0183 -0.1903)
OKLCHoklch(44.41% 0.191 264.5)
XYZxyz(11.5466, 8.0757, 47.9543)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B45BB #BB911B
analogous
#1B95BB #1B45BB #411BBB
triadic
#1B45BB #BB1B45 #45BB1B
tetradic
#1B45BB #BB1B95 #BB911B #1BBB41
square
#1B45BB #BB1B95 #BB911B #1BBB41
split-complementary
#1B45BB #BB411B #95BB1B
monochromatic
#0C1E50 #133186 #1B45BB #3260E1 #6789E9

Accessibility & contrast

On white

8.03
#1B45BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1B45BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B45BB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B45BB#FFFFFF#000000##FFFFFF
##1B45BB1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b45bb;
/* rgb */ color: rgb(27, 69, 187);
/* oklch */ color: oklch(44.4% 0.191 264.5);
Tailwind
colors: {
  custom: {
    50: '#7778d0',
    500: '#1b45bb',
    950: '#000000',
  },
}
SCSS
$custom: #1b45bb;
$custom-light: #7778d0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b45bb",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 224.25,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44412,
    "c": 0.19123,
    "h": 264.5
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#1B45BB
secondary
#CEB263
accent
#C036F1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0914
muted
#7C7B82

Preview Lab

Preview with #1B45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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