#1B4885#1B4885

#1B4885 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.113 H 257.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#1B4885
RGBrgb(27, 72, 133)
HSLhsl(215, 66%, 31%)
HSVhsv(215, 80%, 52%)
CMYKcmyk(79.7%, 45.9%, 0%, 47.8%)
CIE-LABlab(30.78, 7.94, -38.59)
CIE-LCHlch(30.78, 39.40, 281.63°)
OKLaboklab(40.56% -0.0253 -0.1106)
OKLCHoklch(40.56% 0.113 257.1)
XYZxyz(7.0014, 6.5604, 23.0830)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4885 #85581B
analogous
#1B7D85 #1B4885 #231B85
triadic
#1B4885 #851B48 #48851B
tetradic
#1B4885 #851B7D #85581B #1B8523
square
#1B4885 #851B7D #85581B #1B8523
split-complementary
#1B4885 #85231B #7D851B
monochromatic
#06111F #112C52 #1B4885 #2564B8 #4282D9

Accessibility & contrast

On white

9.08
#1B4885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1B4885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4885
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4885#FFFFFF#000000##FFFFFF
##1B48851.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E87
Deuteranopia (green-blind)
#134484
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b4885;
/* rgb */ color: rgb(27, 72, 133);
/* oklch */ color: oklch(40.6% 0.113 257.1);
Tailwind
colors: {
  custom: {
    50: '#687aa9',
    500: '#1b4885',
    950: '#000000',
  },
}
SCSS
$custom: #1b4885;
$custom-light: #687aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4885",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 133
  },
  "hsl": {
    "h": 214.528,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.11346,
    "h": 257.1
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#1B4885
secondary
#B88744
accent
#A13FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4885

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

Preview Lab → · Contrast checker → · Palette generator →

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