#1B4A71#1B4A71

#1B4A71 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.7% C 0.083 H 247.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#1B4A71
RGBrgb(27, 74, 113)
HSLhsl(207, 61%, 27%)
HSVhsv(207, 76%, 44%)
CMYKcmyk(76.1%, 34.5%, 0%, 55.7%)
CIE-LABlab(30.21, -1.43, -27.02)
CIE-LCHlch(30.21, 27.06, 266.96°)
OKLaboklab(39.72% -0.0325 -0.0766)
OKLCHoklch(39.72% 0.083 247)
XYZxyz(5.8803, 6.3222, 16.5300)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A71 #71421B
analogous
#1B716D #1B4A71 #1B1F71
triadic
#1B4A71 #711B4A #4A711B
tetradic
#1B4A71 #6D1B71 #71421B #1F711B
square
#1B4A71 #6D1B71 #71421B #1F711B
split-complementary
#1B4A71 #711B1F #716D1B
monochromatic
#061019 #0F2A40 #1B4A71 #276AA2 #378ACF

Accessibility & contrast

On white

9.27
#1B4A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1B4A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A71
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A71#FFFFFF#000000##FFFFFF
##1B4A711.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C73
Deuteranopia (green-blind)
#2C4370
Tritanopia (blue-blind)
#005358
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4a71;
/* rgb */ color: rgb(27, 74, 113);
/* oklch */ color: oklch(39.7% 0.083 247.0);
Tailwind
colors: {
  custom: {
    50: '#647c9a',
    500: '#1b4a71',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a71;
$custom-light: #647c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a71",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 207.209,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39717,
    "c": 0.08323,
    "h": 247
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#1B4A71
secondary
#A66F42
accent
#8C43E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1B4A71

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

Preview Lab → · Contrast checker → · Palette generator →

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