#1B428F#1B428F

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

Color values

HEX#1B428F
RGBrgb(27, 66, 143)
HSLhsl(220, 68%, 33%)
HSVhsv(220, 81%, 56%)
CMYKcmyk(81.1%, 53.8%, 0%, 43.9%)
CIE-LABlab(29.69, 16.13, -46.52)
CIE-LCHlch(29.69, 49.23, 289.12°)
OKLaboklab(39.94% -0.0187 -0.134)
OKLCHoklch(39.94% 0.135 262.1)
XYZxyz(7.3563, 6.1117, 26.7732)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B428F #8F681B
analogous
#1B7C8F #1B428F #2E1B8F
triadic
#1B428F #8F1B42 #428F1B
tetradic
#1B428F #8F1B7C #8F681B #1B8F2E
square
#1B428F #8F1B7C #8F681B #1B8F2E
split-complementary
#1B428F #8F2E1B #7C8F1B
monochromatic
#081228 #112A5C #1B428F #255AC2 #487ADC

Accessibility & contrast

On white

9.45
#1B428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B428F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B428F#FFFFFF#000000##FFFFFF
##1B428F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094C92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b428f;
/* rgb */ color: rgb(27, 66, 143);
/* oklch */ color: oklch(39.9% 0.135 262.1);
Tailwind
colors: {
  custom: {
    50: '#6b75b0',
    500: '#1b428f',
    950: '#000000',
  },
}
SCSS
$custom: #1b428f;
$custom-light: #6b75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b428f",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 219.828,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39944,
    "c": 0.13535,
    "h": 262.1
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#1B428F
secondary
#BE9648
accent
#B03DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #1B428F

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

Preview Lab → · Contrast checker → · Palette generator →

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