#1B3B89#1B3B89

#1B3B89 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.136 H 264.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#1B3B89
RGBrgb(27, 59, 137)
HSLhsl(223, 67%, 32%)
HSVhsv(223, 80%, 54%)
CMYKcmyk(80.3%, 56.9%, 0%, 46.3%)
CIE-LABlab(27.20, 18.56, -46.85)
CIE-LCHlch(27.20, 50.39, 291.61°)
OKLaboklab(37.91% -0.014 -0.1352)
OKLCHoklch(37.91% 0.136 264.1)
XYZxyz(6.5297, 5.1663, 24.3151)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3B89 #89691B
analogous
#1B7289 #1B3B89 #321B89
triadic
#1B3B89 #891B3B #3B891B
tetradic
#1B3B89 #891B72 #89691B #1B8932
square
#1B3B89 #891B72 #89691B #1B8932
split-complementary
#1B3B89 #89321B #72891B
monochromatic
#070F23 #112556 #1B3B89 #2551BC #4470DA

Accessibility & contrast

On white

10.33
#1B3B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1B3B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3B89
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3B89#FFFFFF#000000##FFFFFF
##1B3B891.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3b89;
/* rgb */ color: rgb(27, 59, 137);
/* oklch */ color: oklch(37.9% 0.136 264.1);
Tailwind
colors: {
  custom: {
    50: '#6a70ac',
    500: '#1b3b89',
    950: '#000000',
  },
}
SCSS
$custom: #1b3b89;
$custom-light: #6a70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3b89",
  "rgb": {
    "r": 27,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 222.545,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3791,
    "c": 0.13589,
    "h": 264.1
  },
  "luminance": 0.05167
}

Semantic roles & 50–950 ramp

primary
#1B3B89
secondary
#BC9944
accent
#B83EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3B89

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

Preview Lab → · Contrast checker → · Palette generator →

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