#1B4185#1B4185

#1B4185 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.9% C 0.122 H 261.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1B4185
RGBrgb(27, 65, 133)
HSLhsl(218, 66%, 31%)
HSVhsv(218, 80%, 52%)
CMYKcmyk(79.7%, 51.1%, 0%, 47.8%)
CIE-LABlab(28.66, 12.75, -42.01)
CIE-LCHlch(28.66, 43.90, 286.88°)
OKLaboklab(38.92% -0.0192 -0.1208)
OKLCHoklch(38.92% 0.122 261)
XYZxyz(6.5744, 5.7063, 22.9407)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4185 #855F1B
analogous
#1B7685 #1B4185 #2A1B85
triadic
#1B4185 #851B41 #41851B
tetradic
#1B4185 #851B76 #855F1B #1B852A
square
#1B4185 #851B76 #855F1B #1B852A
split-complementary
#1B4185 #852A1B #76851B
monochromatic
#060F1F #112852 #1B4185 #255AB8 #4278D9

Accessibility & contrast

On white

9.81
#1B4185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1B4185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4185
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4185#FFFFFF#000000##FFFFFF
##1B41851.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184987
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4185;
/* rgb */ color: rgb(27, 65, 133);
/* oklch */ color: oklch(38.9% 0.122 261.0);
Tailwind
colors: {
  custom: {
    50: '#6975a9',
    500: '#1b4185',
    950: '#000000',
  },
}
SCSS
$custom: #1b4185;
$custom-light: #6975a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4185",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 218.491,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3892,
    "c": 0.12233,
    "h": 261
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#1B4185
secondary
#B88E44
accent
#AC3FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4185

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

Preview Lab → · Contrast checker → · Palette generator →

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