#1B4E72#1B4E72

#1B4E72 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.8% C 0.081 H 243.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#1B4E72
RGBrgb(27, 78, 114)
HSLhsl(205, 62%, 28%)
HSVhsv(205, 76%, 45%)
CMYKcmyk(76.3%, 31.6%, 0%, 55.3%)
CIE-LABlab(31.57, -3.63, -25.51)
CIE-LCHlch(31.57, 25.77, 261.90°)
OKLaboklab(40.81% -0.0364 -0.0722)
OKLCHoklch(40.81% 0.081 243.3)
XYZxyz(6.2125, 6.8960, 16.9200)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E72 #723F1B
analogous
#1B726B #1B4E72 #1B2272
triadic
#1B4E72 #721B4E #4E721B
tetradic
#1B4E72 #6B1B72 #723F1B #22721B
square
#1B4E72 #6B1B72 #723F1B #22721B
split-complementary
#1B4E72 #721B22 #726B1B
monochromatic
#061119 #0F2C41 #1B4E72 #2770A3 #3891D0

Accessibility & contrast

On white

8.83
#1B4E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1B4E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E72
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E72#FFFFFF#000000##FFFFFF
##1B4E721.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4F74
Deuteranopia (green-blind)
#314771
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4e72;
/* rgb */ color: rgb(27, 78, 114);
/* oklch */ color: oklch(40.8% 0.081 243.3);
Tailwind
colors: {
  custom: {
    50: '#647f9a',
    500: '#1b4e72',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e72;
$custom-light: #647f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e72",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 204.828,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40805,
    "c": 0.08084,
    "h": 243.3
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#1B4E72
secondary
#A76C42
accent
#8643E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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