#1B389F#1B389F

#1B389F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.170 H 266.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#1B389F
RGBrgb(27, 56, 159)
HSLhsl(227, 71%, 36%)
HSVhsv(227, 83%, 62%)
CMYKcmyk(83%, 64.8%, 0%, 37.6%)
CIE-LABlab(28.28, 29.35, -58.59)
CIE-LCHlch(28.28, 65.53, 296.61°)
OKLaboklab(39.3% -0.0115 -0.1696)
OKLCHoklch(39.3% 0.17 266.1)
XYZxyz(8.1220, 5.5636, 33.4400)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B389F #9F821B
analogous
#1B7A9F #1B389F #401B9F
triadic
#1B389F #9F1B38 #389F1B
tetradic
#1B389F #9F1B7A #9F821B #1B9F40
square
#1B389F #9F1B7A #9F821B #1B9F40
split-complementary
#1B389F #9F401B #7A9F1B
monochromatic
#091336 #12266B #1B389F #244AD3 #5372E2

Accessibility & contrast

On white

9.94
#1B389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1B389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B389F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B389F#FFFFFF#000000##FFFFFF
##1B389F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b389f;
/* rgb */ color: rgb(27, 56, 159);
/* oklch */ color: oklch(39.3% 0.170 266.1);
Tailwind
colors: {
  custom: {
    50: '#706ebc',
    500: '#1b389f',
    950: '#000000',
  },
}
SCSS
$custom: #1b389f;
$custom-light: #706ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b389f",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 226.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.17003,
    "h": 266.1
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#1B389F
secondary
#C5AB51
accent
#C63AEE
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B389F

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

Preview Lab → · Contrast checker → · Palette generator →

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