#1B3E89#1B3E89

#1B3E89 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.132 H 262.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#1B3E89
RGBrgb(27, 62, 137)
HSLhsl(221, 67%, 32%)
HSVhsv(221, 80%, 54%)
CMYKcmyk(80.3%, 54.7%, 0%, 46.3%)
CIE-LABlab(28.07, 16.47, -45.44)
CIE-LCHlch(28.07, 48.34, 289.92°)
OKLaboklab(38.57% -0.0163 -0.131)
OKLCHoklch(38.57% 0.132 262.9)
XYZxyz(6.6884, 5.4836, 24.3680)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E89 #89661B
analogous
#1B7589 #1B3E89 #2F1B89
triadic
#1B3E89 #891B3E #3E891B
tetradic
#1B3E89 #891B75 #89661B #1B892F
square
#1B3E89 #891B75 #89661B #1B892F
split-complementary
#1B3E89 #892F1B #75891B
monochromatic
#071023 #112756 #1B3E89 #2555BC #4474DA

Accessibility & contrast

On white

10.02
#1B3E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1B3E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E89
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E89#FFFFFF#000000##FFFFFF
##1B3E891.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488C
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3e89;
/* rgb */ color: rgb(27, 62, 137);
/* oklch */ color: oklch(38.6% 0.132 262.9);
Tailwind
colors: {
  custom: {
    50: '#6a72ac',
    500: '#1b3e89',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e89;
$custom-light: #6a72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e89",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 220.909,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38566,
    "c": 0.13199,
    "h": 262.9
  },
  "luminance": 0.05484
}

Semantic roles & 50–950 ramp

primary
#1B3E89
secondary
#BC9644
accent
#B33EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B3E89

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

Preview Lab → · Contrast checker → · Palette generator →

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