#1B428E#1B428E

#1B428E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.134 H 261.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1B428E
RGBrgb(27, 66, 142)
HSLhsl(220, 68%, 33%)
HSVhsv(220, 81%, 56%)
CMYKcmyk(81%, 53.5%, 0%, 44.3%)
CIE-LABlab(29.62, 15.72, -46.02)
CIE-LCHlch(29.62, 48.64, 288.86°)
OKLaboklab(39.86% -0.0188 -0.1326)
OKLCHoklch(39.86% 0.134 261.9)
XYZxyz(7.2809, 6.0816, 26.3761)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B428E #8E671B
analogous
#1B7B8E #1B428E #2D1B8E
triadic
#1B428E #8E1B42 #428E1B
tetradic
#1B428E #8E1B7B #8E671B #1B8E2D
square
#1B428E #8E1B7B #8E671B #1B8E2D
split-complementary
#1B428E #8E2D1B #7B8E1B
monochromatic
#071227 #112A5B #1B428E #255AC1 #477ADC

Accessibility & contrast

On white

9.47
#1B428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1B428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B428E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B428E#FFFFFF#000000##FFFFFF
##1B428E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b428e;
/* rgb */ color: rgb(27, 66, 142);
/* oklch */ color: oklch(39.9% 0.134 261.9);
Tailwind
colors: {
  custom: {
    50: '#6b75b0',
    500: '#1b428e',
    950: '#000000',
  },
}
SCSS
$custom: #1b428e;
$custom-light: #6b75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b428e",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 219.652,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39863,
    "c": 0.13393,
    "h": 261.9
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#1B428E
secondary
#BE9547
accent
#B03DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B428E

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

Preview Lab → · Contrast checker → · Palette generator →

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