#1B428B#1B428B

#1B428B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.130 H 261.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#1B428B
RGBrgb(27, 66, 139)
HSLhsl(219, 67%, 33%)
HSVhsv(219, 81%, 55%)
CMYKcmyk(80.6%, 52.5%, 0%, 45.5%)
CIE-LABlab(29.39, 14.50, -44.54)
CIE-LCHlch(29.39, 46.84, 288.04°)
OKLaboklab(39.62% -0.0192 -0.1282)
OKLCHoklch(39.62% 0.13 261.5)
XYZxyz(7.0587, 5.9927, 25.2058)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B428B #8B641B
analogous
#1B7A8B #1B428B #2C1B8B
triadic
#1B428B #8B1B42 #428B1B
tetradic
#1B428B #8B1B7A #8B641B #1B8B2C
square
#1B428B #8B1B7A #8B641B #1B8B2C
split-complementary
#1B428B #8B2C1B #7A8B1B
monochromatic
#071125 #112A58 #1B428B #255ABE #457ADB

Accessibility & contrast

On white

9.55
#1B428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1B428B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B428B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B428B#FFFFFF#000000##FFFFFF
##1B428B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8E
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b428b;
/* rgb */ color: rgb(27, 66, 139);
/* oklch */ color: oklch(39.6% 0.130 261.5);
Tailwind
colors: {
  custom: {
    50: '#6a75ad',
    500: '#1b428b',
    950: '#000000',
  },
}
SCSS
$custom: #1b428b;
$custom-light: #6a75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b428b",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 219.107,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39621,
    "c": 0.12966,
    "h": 261.5
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#1B428B
secondary
#BC9345
accent
#AE3DEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B428B

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

Preview Lab → · Contrast checker → · Palette generator →

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