#1B4287#1B4287

#1B4287 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.3% C 0.124 H 260.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#1B4287
RGBrgb(27, 66, 135)
HSLhsl(218, 67%, 32%)
HSVhsv(218, 80%, 53%)
CMYKcmyk(80%, 51.1%, 0%, 47.1%)
CIE-LABlab(29.10, 12.87, -42.54)
CIE-LCHlch(29.10, 44.44, 286.84°)
OKLaboklab(39.31% -0.0197 -0.1223)
OKLCHoklch(39.31% 0.124 260.8)
XYZxyz(6.7718, 5.8779, 23.6946)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4287 #87601B
analogous
#1B7887 #1B4287 #2A1B87
triadic
#1B4287 #871B42 #42871B
tetradic
#1B4287 #871B78 #87601B #1B872A
square
#1B4287 #871B78 #87601B #1B872A
split-complementary
#1B4287 #872A1B #78871B
monochromatic
#071021 #112954 #1B4287 #255BBA #4379D9

Accessibility & contrast

On white

9.65
#1B4287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1B4287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4287
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4287#FFFFFF#000000##FFFFFF
##1B42871.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4287;
/* rgb */ color: rgb(27, 66, 135);
/* oklch */ color: oklch(39.3% 0.124 260.8);
Tailwind
colors: {
  custom: {
    50: '#6975aa',
    500: '#1b4287',
    950: '#000000',
  },
}
SCSS
$custom: #1b4287;
$custom-light: #6975aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4287",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 218.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39306,
    "c": 0.12392,
    "h": 260.8
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#1B4287
secondary
#BA8F44
accent
#AC3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4287

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

Preview Lab → · Contrast checker → · Palette generator →

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