#1B3A89#1B3A89

#1B3A89 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.137 H 264.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#1B3A89
RGBrgb(27, 58, 137)
HSLhsl(223, 67%, 32%)
HSVhsv(223, 80%, 54%)
CMYKcmyk(80.3%, 57.7%, 0%, 46.3%)
CIE-LABlab(26.92, 19.26, -47.32)
CIE-LCHlch(26.92, 51.08, 292.15°)
OKLaboklab(37.7% -0.0133 -0.1365)
OKLCHoklch(37.7% 0.137 264.5)
XYZxyz(6.4788, 5.0645, 24.2982)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A89 #896A1B
analogous
#1B7189 #1B3A89 #331B89
triadic
#1B3A89 #891B3A #3A891B
tetradic
#1B3A89 #891B71 #896A1B #1B8933
square
#1B3A89 #891B71 #896A1B #1B8933
split-complementary
#1B3A89 #89331B #71891B
monochromatic
#070F23 #112456 #1B3A89 #2550BC #446EDA

Accessibility & contrast

On white

10.43
#1B3A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1B3A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A89
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A89#FFFFFF#000000##FFFFFF
##1B3A891.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3a89;
/* rgb */ color: rgb(27, 58, 137);
/* oklch */ color: oklch(37.7% 0.137 264.5);
Tailwind
colors: {
  custom: {
    50: '#6a6fac',
    500: '#1b3a89',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a89;
$custom-light: #6a6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a89",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 223.091,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37695,
    "c": 0.13719,
    "h": 264.5
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#1B3A89
secondary
#BC9A44
accent
#B93EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B3A89

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

Preview Lab → · Contrast checker → · Palette generator →

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