#1B4085#1B4085

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

Color values

HEX#1B4085
RGBrgb(27, 64, 133)
HSLhsl(219, 66%, 31%)
HSVhsv(219, 80%, 52%)
CMYKcmyk(79.7%, 51.9%, 0%, 47.8%)
CIE-LABlab(28.36, 13.45, -42.49)
CIE-LCHlch(28.36, 44.57, 287.56°)
OKLaboklab(38.69% -0.0184 -0.1222)
OKLCHoklch(38.69% 0.124 261.5)
XYZxyz(6.5175, 5.5925, 22.9217)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4085 #85601B
analogous
#1B7585 #1B4085 #2B1B85
triadic
#1B4085 #851B40 #40851B
tetradic
#1B4085 #851B75 #85601B #1B852B
square
#1B4085 #851B75 #85601B #1B852B
split-complementary
#1B4085 #852B1B #75851B
monochromatic
#060F1F #112852 #1B4085 #2558B8 #4276D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B4085#FFFFFF#000000##FFFFFF
##1B40851.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)
#154888
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b4085;
/* rgb */ color: rgb(27, 64, 133);
/* oklch */ color: oklch(38.7% 0.124 261.5);
Tailwind
colors: {
  custom: {
    50: '#6974a9',
    500: '#1b4085',
    950: '#000000',
  },
}
SCSS
$custom: #1b4085;
$custom-light: #6974a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4085",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 219.057,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38692,
    "c": 0.12362,
    "h": 261.5
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#1B4085
secondary
#B89044
accent
#AE3FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4085

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

Preview Lab → · Contrast checker → · Palette generator →

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