#1B4F89#1B4F89

#1B4F89 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.111 H 253.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#1B4F89
RGBrgb(27, 79, 137)
HSLhsl(212, 67%, 32%)
HSVhsv(212, 80%, 54%)
CMYKcmyk(80.3%, 42.3%, 0%, 46.3%)
CIE-LABlab(33.20, 4.85, -37.19)
CIE-LCHlch(33.20, 37.51, 277.43°)
OKLaboklab(42.51% -0.0307 -0.1063)
OKLCHoklch(42.51% 0.111 253.9)
XYZxyz(7.7616, 7.6302, 24.7258)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F89 #89551B
analogous
#1B8689 #1B4F89 #1E1B89
triadic
#1B4F89 #891B4F #4F891B
tetradic
#1B4F89 #891B86 #89551B #1B891E
square
#1B4F89 #891B86 #89551B #1B891E
split-complementary
#1B4F89 #891E1B #86891B
monochromatic
#071423 #113256 #1B4F89 #256CBC #448BDA

Accessibility & contrast

On white

8.31
#1B4F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1B4F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F89
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F89#FFFFFF#000000##FFFFFF
##1B4F891.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538B
Deuteranopia (green-blind)
#204988
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4f89;
/* rgb */ color: rgb(27, 79, 137);
/* oklch */ color: oklch(42.5% 0.111 253.9);
Tailwind
colors: {
  custom: {
    50: '#697fac',
    500: '#1b4f89',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f89;
$custom-light: #697fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f89",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 211.636,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42514,
    "c": 0.1107,
    "h": 253.9
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#1B4F89
secondary
#BC8344
accent
#993EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B4F89

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

Preview Lab → · Contrast checker → · Palette generator →

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