#1B4F71#1B4F71

#1B4F71 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.0% C 0.079 H 241.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#1B4F71
RGBrgb(27, 79, 113)
HSLhsl(204, 61%, 27%)
HSVhsv(204, 76%, 44%)
CMYKcmyk(76.1%, 30.1%, 0%, 55.7%)
CIE-LABlab(31.84, -4.65, -24.45)
CIE-LCHlch(31.84, 24.89, 259.22°)
OKLaboklab(41.01% -0.0378 -0.0691)
OKLCHoklch(41.01% 0.079 241.3)
XYZxyz(6.2275, 7.0165, 16.6457)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F71 #713D1B
analogous
#1B7168 #1B4F71 #1B2471
triadic
#1B4F71 #711B4F #4F711B
tetradic
#1B4F71 #681B71 #713D1B #24711B
square
#1B4F71 #681B71 #713D1B #24711B
split-complementary
#1B4F71 #711B24 #71681B
monochromatic
#061119 #0F2C40 #1B4F71 #2772A2 #3793CF

Accessibility & contrast

On white

8.74
#1B4F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1B4F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F71
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F71#FFFFFF#000000##FFFFFF
##1B4F711.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#334770
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4f71;
/* rgb */ color: rgb(27, 79, 113);
/* oklch */ color: oklch(41.0% 0.079 241.3);
Tailwind
colors: {
  custom: {
    50: '#64809a',
    500: '#1b4f71',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f71;
$custom-light: #64809a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f71",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 203.721,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41006,
    "c": 0.07876,
    "h": 241.3
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

primary
#1B4F71
secondary
#A66942
accent
#8343E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B4F71

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

Preview Lab → · Contrast checker → · Palette generator →

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