#1B45B4#1B45B4

#1B45B4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.182 H 264.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#1B45B4
RGBrgb(27, 69, 180)
HSLhsl(224, 74%, 41%)
HSVhsv(224, 85%, 71%)
CMYKcmyk(85%, 61.7%, 0%, 29.4%)
CIE-LABlab(33.53, 28.81, -62.59)
CIE-LCHlch(33.53, 68.90, 294.72°)
OKLaboklab(43.77% -0.0184 -0.1812)
OKLCHoklch(43.77% 0.182 264.2)
XYZxyz(10.8154, 7.7832, 44.1034)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B45B4 #B48A1B
analogous
#1B92B4 #1B45B4 #3D1BB4
triadic
#1B45B4 #B41B45 #45B41B
tetradic
#1B45B4 #B41B92 #B48A1B #1BB43D
square
#1B45B4 #B41B92 #B48A1B #1BB43D
split-complementary
#1B45B4 #B43D1B #92B41B
monochromatic
#0B1C4A #13317F #1B45B4 #2D5EDF #6287E7

Accessibility & contrast

On white

8.21
#1B45B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1B45B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B45B4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B45B4#FFFFFF#000000##FFFFFF
##1B45B41.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b45b4;
/* rgb */ color: rgb(27, 69, 180);
/* oklch */ color: oklch(43.8% 0.182 264.2);
Tailwind
colors: {
  custom: {
    50: '#7578cb',
    500: '#1b45b4',
    950: '#000000',
  },
}
SCSS
$custom: #1b45b4;
$custom-light: #7578cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b45b4",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 223.529,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.18212,
    "h": 264.2
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#1B45B4
secondary
#CCAE5F
accent
#BE37F1
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1B45B4

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

Preview Lab → · Contrast checker → · Palette generator →

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