#1B4971#1B4971

#1B4971 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.5% C 0.084 H 248.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#1B4971
RGBrgb(27, 73, 113)
HSLhsl(208, 61%, 27%)
HSVhsv(208, 76%, 44%)
CMYKcmyk(76.1%, 35.4%, 0%, 55.7%)
CIE-LABlab(29.89, -0.78, -27.53)
CIE-LCHlch(29.89, 27.54, 268.38°)
OKLaboklab(39.46% -0.0314 -0.0781)
OKLCHoklch(39.46% 0.084 248.1)
XYZxyz(5.8140, 6.1897, 16.5079)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4971 #71431B
analogous
#1B716E #1B4971 #1B1E71
triadic
#1B4971 #711B49 #49711B
tetradic
#1B4971 #6E1B71 #71431B #1E711B
square
#1B4971 #6E1B71 #71431B #1E711B
split-complementary
#1B4971 #711B1E #716E1B
monochromatic
#061019 #0F2940 #1B4971 #2769A2 #3789CF

Accessibility & contrast

On white

9.38
#1B4971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B4971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4971
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4971#FFFFFF#000000##FFFFFF
##1B49711.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#2B4370
Tritanopia (blue-blind)
#005357
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4971;
/* rgb */ color: rgb(27, 73, 113);
/* oklch */ color: oklch(39.5% 0.084 248.1);
Tailwind
colors: {
  custom: {
    50: '#647b9a',
    500: '#1b4971',
    950: '#000000',
  },
}
SCSS
$custom: #1b4971;
$custom-light: #647b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4971",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 113
  },
  "hsl": {
    "h": 207.907,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39461,
    "c": 0.08422,
    "h": 248.1
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#1B4971
secondary
#A67042
accent
#8E43E5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1B4971

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

Preview Lab → · Contrast checker → · Palette generator →

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