#1B399D#1B399D

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

Color values

HEX#1B399D
RGBrgb(27, 57, 157)
HSLhsl(226, 71%, 36%)
HSVhsv(226, 83%, 62%)
CMYKcmyk(82.8%, 63.7%, 0%, 38.4%)
CIE-LABlab(28.36, 27.90, -57.25)
CIE-LCHlch(28.36, 63.68, 295.99°)
OKLaboklab(39.31% -0.012 -0.1657)
OKLCHoklch(39.31% 0.166 265.8)
XYZxyz(7.9988, 5.5926, 32.5497)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B399D #9D7F1B
analogous
#1B7A9D #1B399D #3E1B9D
triadic
#1B399D #9D1B39 #399D1B
tetradic
#1B399D #9D1B7A #9D7F1B #1B9D3E
square
#1B399D #9D1B7A #9D7F1B #1B9D3E
split-complementary
#1B399D #9D3E1B #7A9D1B
monochromatic
#091335 #122669 #1B399D #244CD1 #5172E1

Accessibility & contrast

On white

9.91
#1B399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1B399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B399D
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B399D#FFFFFF#000000##FFFFFF
##1B399D1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b399d;
/* rgb */ color: rgb(27, 57, 157);
/* oklch */ color: oklch(39.3% 0.166 265.8);
Tailwind
colors: {
  custom: {
    50: '#706fbb',
    500: '#1b399d',
    950: '#000000',
  },
}
SCSS
$custom: #1b399d;
$custom-light: #706fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b399d",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 226.154,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39305,
    "c": 0.16614,
    "h": 265.8
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#1B399D
secondary
#C4A950
accent
#C43AED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B399D

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

Preview Lab → · Contrast checker → · Palette generator →

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