#1B428C#1B428C

#1B428C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.131 H 261.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#1B428C
RGBrgb(27, 66, 140)
HSLhsl(219, 68%, 33%)
HSVhsv(219, 81%, 55%)
CMYKcmyk(80.7%, 52.9%, 0%, 45.1%)
CIE-LABlab(29.47, 14.91, -45.03)
CIE-LCHlch(29.47, 47.44, 288.32°)
OKLaboklab(39.7% -0.0191 -0.1297)
OKLCHoklch(39.7% 0.131 261.6)
XYZxyz(7.1321, 6.0221, 25.5923)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B428C #8C651B
analogous
#1B7A8C #1B428C #2C1B8C
triadic
#1B428C #8C1B42 #428C1B
tetradic
#1B428C #8C1B7A #8C651B #1B8C2C
square
#1B428C #8C1B7A #8C651B #1B8C2C
split-complementary
#1B428C #8C2C1B #7A8C1B
monochromatic
#071225 #112A59 #1B428C #255ABF #467ADB

Accessibility & contrast

On white

9.53
#1B428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B428C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B428C#FFFFFF#000000##FFFFFF
##1B428C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104B8F
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b428c;
/* rgb */ color: rgb(27, 66, 140);
/* oklch */ color: oklch(39.7% 0.131 261.6);
Tailwind
colors: {
  custom: {
    50: '#6a75ae',
    500: '#1b428c',
    950: '#000000',
  },
}
SCSS
$custom: #1b428c;
$custom-light: #6a75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b428c",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 219.292,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39701,
    "c": 0.13108,
    "h": 261.6
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B428C

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

Preview Lab → · Contrast checker → · Palette generator →

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