#1B4083#1B4083

#1B4083 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.121 H 261.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#1B4083
RGBrgb(27, 64, 131)
HSLhsl(219, 66%, 31%)
HSVhsv(219, 79%, 51%)
CMYKcmyk(79.4%, 51.1%, 0%, 48.6%)
CIE-LABlab(28.22, 12.63, -41.48)
CIE-LCHlch(28.22, 43.36, 286.93°)
OKLaboklab(38.53% -0.0187 -0.1193)
OKLCHoklch(38.53% 0.121 261.1)
XYZxyz(6.3806, 5.5378, 22.2009)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4083 #835E1B
analogous
#1B7483 #1B4083 #2A1B83
triadic
#1B4083 #831B40 #40831B
tetradic
#1B4083 #831B74 #835E1B #1B832A
square
#1B4083 #831B74 #835E1B #1B832A
split-complementary
#1B4083 #832A1B #74831B
monochromatic
#060E1E #112750 #1B4083 #2559B6 #4176D8

Accessibility & contrast

On white

9.96
#1B4083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4083
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4083#FFFFFF#000000##FFFFFF
##1B40831.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184885
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b4083;
/* rgb */ color: rgb(27, 64, 131);
/* oklch */ color: oklch(38.5% 0.121 261.1);
Tailwind
colors: {
  custom: {
    50: '#6874a7',
    500: '#1b4083',
    950: '#000000',
  },
}
SCSS
$custom: #1b4083;
$custom-light: #6874a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4083",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 218.654,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38534,
    "c": 0.12073,
    "h": 261.1
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#1B4083
secondary
#B68D43
accent
#AC3FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B4083

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

Preview Lab → · Contrast checker → · Palette generator →

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