#1B428D#1B428D

#1B428D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.133 H 261.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#1B428D
RGBrgb(27, 66, 141)
HSLhsl(219, 68%, 33%)
HSVhsv(219, 81%, 55%)
CMYKcmyk(80.9%, 53.2%, 0%, 44.7%)
CIE-LABlab(29.54, 15.32, -45.53)
CIE-LCHlch(29.54, 48.04, 288.59°)
OKLaboklab(39.78% -0.0189 -0.1311)
OKLCHoklch(39.78% 0.133 261.8)
XYZxyz(7.2062, 6.0517, 25.9824)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B428D #8D661B
analogous
#1B7B8D #1B428D #2D1B8D
triadic
#1B428D #8D1B42 #428D1B
tetradic
#1B428D #8D1B7B #8D661B #1B8D2D
square
#1B428D #8D1B7B #8D661B #1B8D2D
split-complementary
#1B428D #8D2D1B #7B8D1B
monochromatic
#071226 #112A5A #1B428D #255AC0 #477ADC

Accessibility & contrast

On white

9.50
#1B428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1B428D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B428D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B428D#FFFFFF#000000##FFFFFF
##1B428D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4B90
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b428d;
/* rgb */ color: rgb(27, 66, 141);
/* oklch */ color: oklch(39.8% 0.133 261.8);
Tailwind
colors: {
  custom: {
    50: '#6b75af',
    500: '#1b428d',
    950: '#000000',
  },
}
SCSS
$custom: #1b428d;
$custom-light: #6b75af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b428d",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 219.474,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.13251,
    "h": 261.8
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#1B428D
secondary
#BD9546
accent
#AF3DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B428D

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

Preview Lab → · Contrast checker → · Palette generator →

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