#1B4B85#1B4B85

#1B4B85 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.3% C 0.110 H 255.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#1B4B85
RGBrgb(27, 75, 133)
HSLhsl(213, 66%, 31%)
HSVhsv(213, 80%, 52%)
CMYKcmyk(79.7%, 43.6%, 0%, 47.8%)
CIE-LABlab(31.71, 5.91, -37.11)
CIE-LCHlch(31.71, 37.58, 279.05°)
OKLaboklab(41.27% -0.028 -0.1062)
OKLCHoklch(41.27% 0.11 255.2)
XYZxyz(7.2001, 6.9578, 23.1493)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B85 #85551B
analogous
#1B8085 #1B4B85 #201B85
triadic
#1B4B85 #851B4B #4B851B
tetradic
#1B4B85 #851B80 #85551B #1B8520
square
#1B4B85 #851B80 #85551B #1B8520
split-complementary
#1B4B85 #85201B #80851B
monochromatic
#06121F #112E52 #1B4B85 #2568B8 #4286D9

Accessibility & contrast

On white

8.78
#1B4B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1B4B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B85
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B85#FFFFFF#000000##FFFFFF
##1B4B851.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5087
Deuteranopia (green-blind)
#1B4684
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4b85;
/* rgb */ color: rgb(27, 75, 133);
/* oklch */ color: oklch(41.3% 0.110 255.2);
Tailwind
colors: {
  custom: {
    50: '#687ca9',
    500: '#1b4b85',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b85;
$custom-light: #687ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b85",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 133
  },
  "hsl": {
    "h": 212.83,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41274,
    "c": 0.10982,
    "h": 255.2
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#1B4B85
secondary
#B88344
accent
#9C3FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4B85

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

Preview Lab → · Contrast checker → · Palette generator →

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