#1B3189#1B3189

#1B3189 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.149 H 267.3°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#1B3189
RGBrgb(27, 49, 137)
HSLhsl(228, 67%, 32%)
HSVhsv(228, 80%, 54%)
CMYKcmyk(80.3%, 64.2%, 0%, 46.3%)
CIE-LABlab(24.43, 25.51, -51.37)
CIE-LCHlch(24.43, 57.35, 296.41°)
OKLaboklab(35.84% -0.0071 -0.1486)
OKLCHoklch(35.84% 0.149 267.3)
XYZxyz(6.0641, 4.2351, 24.1599)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3189 #89731B
analogous
#1B6889 #1B3189 #3C1B89
triadic
#1B3189 #891B31 #31891B
tetradic
#1B3189 #891B68 #89731B #1B893C
square
#1B3189 #891B68 #89731B #1B893C
split-complementary
#1B3189 #893C1B #68891B
monochromatic
#070C23 #111F56 #1B3189 #2543BC #4462DA

Accessibility & contrast

On white

11.37
#1B3189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1B3189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3189
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3189#FFFFFF#000000##FFFFFF
##1B31891.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b3189;
/* rgb */ color: rgb(27, 49, 137);
/* oklch */ color: oklch(35.8% 0.149 267.3);
Tailwind
colors: {
  custom: {
    50: '#6b68ac',
    500: '#1b3189',
    950: '#000000',
  },
}
SCSS
$custom: #1b3189;
$custom-light: #6b68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3189",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 228,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3584,
    "c": 0.14875,
    "h": 267.3
  },
  "luminance": 0.04236
}

Semantic roles & 50–950 ramp

primary
#1B3189
secondary
#BCA444
accent
#C83EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B3189

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

Preview Lab → · Contrast checker → · Palette generator →

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