#1B399F#1B399F

#1B399F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.169 H 265.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#1B399F
RGBrgb(27, 57, 159)
HSLhsl(226, 71%, 36%)
HSVhsv(226, 83%, 62%)
CMYKcmyk(83%, 64.2%, 0%, 37.6%)
CIE-LABlab(28.54, 28.68, -58.16)
CIE-LCHlch(28.54, 64.85, 296.25°)
OKLaboklab(39.5% -0.0121 -0.1684)
OKLCHoklch(39.5% 0.169 265.9)
XYZxyz(8.1709, 5.6615, 33.4563)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B399F #9F811B
analogous
#1B7B9F #1B399F #3F1B9F
triadic
#1B399F #9F1B39 #399F1B
tetradic
#1B399F #9F1B7B #9F811B #1B9F3F
square
#1B399F #9F1B7B #9F811B #1B9F3F
split-complementary
#1B399F #9F3F1B #7B9F1B
monochromatic
#091336 #12266B #1B399F #244CD3 #5373E2

Accessibility & contrast

On white

9.85
#1B399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1B399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B399F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B399F#FFFFFF#000000##FFFFFF
##1B399F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b399f;
/* rgb */ color: rgb(27, 57, 159);
/* oklch */ color: oklch(39.5% 0.169 265.9);
Tailwind
colors: {
  custom: {
    50: '#706fbc',
    500: '#1b399f',
    950: '#000000',
  },
}
SCSS
$custom: #1b399f;
$custom-light: #706fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b399f",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 226.364,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39495,
    "c": 0.16882,
    "h": 265.9
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#1B399F
secondary
#C5AA51
accent
#C53AEE
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B399F

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

Preview Lab → · Contrast checker → · Palette generator →

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