#1B3F89#1B3F89

#1B3F89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.131 H 262.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#1B3F89
RGBrgb(27, 63, 137)
HSLhsl(220, 67%, 32%)
HSVhsv(220, 80%, 54%)
CMYKcmyk(80.3%, 54%, 0%, 46.3%)
CIE-LABlab(28.36, 15.77, -44.97)
CIE-LCHlch(28.36, 47.66, 289.32°)
OKLaboklab(38.79% -0.0171 -0.1296)
OKLCHoklch(38.79% 0.131 262.5)
XYZxyz(6.7432, 5.5934, 24.3863)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F89 #89651B
analogous
#1B7689 #1B3F89 #2E1B89
triadic
#1B3F89 #891B3F #3F891B
tetradic
#1B3F89 #891B76 #89651B #1B892E
square
#1B3F89 #891B76 #89651B #1B892E
split-complementary
#1B3F89 #892E1B #76891B
monochromatic
#071023 #112756 #1B3F89 #2557BC #4475DA

Accessibility & contrast

On white

9.91
#1B3F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1B3F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F89
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F89#FFFFFF#000000##FFFFFF
##1B3F891.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09488C
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b3f89;
/* rgb */ color: rgb(27, 63, 137);
/* oklch */ color: oklch(38.8% 0.131 262.5);
Tailwind
colors: {
  custom: {
    50: '#6a73ac',
    500: '#1b3f89',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f89;
$custom-light: #6a73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f89",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 220.364,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38788,
    "c": 0.13068,
    "h": 262.5
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#1B3F89
secondary
#BC9544
accent
#B23EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B3F89

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

Preview Lab → · Contrast checker → · Palette generator →

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