#1B4285#1B4285

#1B4285 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.121 H 260.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#1B4285
RGBrgb(27, 66, 133)
HSLhsl(218, 66%, 31%)
HSVhsv(218, 80%, 52%)
CMYKcmyk(79.7%, 50.4%, 0%, 47.8%)
CIE-LABlab(28.96, 12.06, -41.53)
CIE-LCHlch(28.96, 43.24, 286.19°)
OKLaboklab(39.15% -0.02 -0.1194)
OKLCHoklch(39.15% 0.121 260.5)
XYZxyz(6.6323, 5.8221, 22.9600)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4285 #855E1B
analogous
#1B7785 #1B4285 #291B85
triadic
#1B4285 #851B42 #42851B
tetradic
#1B4285 #851B77 #855E1B #1B8529
square
#1B4285 #851B77 #855E1B #1B8529
split-complementary
#1B4285 #85291B #77851B
monochromatic
#06101F #112952 #1B4285 #255BB8 #4279D9

Accessibility & contrast

On white

9.70
#1B4285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1B4285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4285
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4285#FFFFFF#000000##FFFFFF
##1B42851.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4987
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4285;
/* rgb */ color: rgb(27, 66, 133);
/* oklch */ color: oklch(39.1% 0.121 260.5);
Tailwind
colors: {
  custom: {
    50: '#6975a9',
    500: '#1b4285',
    950: '#000000',
  },
}
SCSS
$custom: #1b4285;
$custom-light: #6975a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4285",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 217.925,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3915,
    "c": 0.12104,
    "h": 260.5
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#1B4285
secondary
#B88D44
accent
#AA3FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4285

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

Preview Lab → · Contrast checker → · Palette generator →

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