#1B4F72#1B4F72

#1B4F72 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.1% C 0.080 H 242.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#1B4F72
RGBrgb(27, 79, 114)
HSLhsl(204, 62%, 28%)
HSVhsv(204, 76%, 45%)
CMYKcmyk(76.3%, 30.7%, 0%, 55.3%)
CIE-LABlab(31.90, -4.27, -25.00)
CIE-LCHlch(31.90, 25.36, 260.31°)
OKLaboklab(41.06% -0.0374 -0.0707)
OKLCHoklch(41.06% 0.08 242.1)
XYZxyz(6.2841, 7.0392, 16.9438)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F72 #723E1B
analogous
#1B7269 #1B4F72 #1B2372
triadic
#1B4F72 #721B4F #4F721B
tetradic
#1B4F72 #691B72 #723E1B #23721B
square
#1B4F72 #691B72 #723E1B #23721B
split-complementary
#1B4F72 #721B23 #72691B
monochromatic
#061119 #0F2D41 #1B4F72 #2771A3 #3893D0

Accessibility & contrast

On white

8.72
#1B4F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1B4F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F72
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F72#FFFFFF#000000##FFFFFF
##1B4F721.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5074
Deuteranopia (green-blind)
#334771
Tritanopia (blue-blind)
#00585B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4f72;
/* rgb */ color: rgb(27, 79, 114);
/* oklch */ color: oklch(41.1% 0.080 242.1);
Tailwind
colors: {
  custom: {
    50: '#64809a',
    500: '#1b4f72',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f72;
$custom-light: #64809a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f72",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 114
  },
  "hsl": {
    "h": 204.138,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41064,
    "c": 0.07998,
    "h": 242.1
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#1B4F72
secondary
#A76B42
accent
#8443E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B4F72

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

Preview Lab → · Contrast checker → · Palette generator →

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