#1B4872#1B4872

#1B4872 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.3% C 0.087 H 249.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1B4872
RGBrgb(27, 72, 114)
HSLhsl(209, 62%, 28%)
HSVhsv(209, 76%, 45%)
CMYKcmyk(76.3%, 36.8%, 0%, 55.3%)
CIE-LABlab(29.62, 0.28, -28.58)
CIE-LCHlch(29.62, 28.59, 270.56°)
OKLaboklab(39.27% -0.03 -0.0812)
OKLCHoklch(39.27% 0.087 249.7)
XYZxyz(5.8055, 6.0820, 16.7843)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4872 #72451B
analogous
#1B7271 #1B4872 #1B1C72
triadic
#1B4872 #721B48 #48721B
tetradic
#1B4872 #711B72 #72451B #1C721B
square
#1B4872 #711B72 #72451B #1C721B
split-complementary
#1B4872 #721B1C #72711B
monochromatic
#061019 #0F2941 #1B4872 #2767A3 #3886D0

Accessibility & contrast

On white

9.47
#1B4872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1B4872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4872
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4872#FFFFFF#000000##FFFFFF
##1B48721.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#284271
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4872;
/* rgb */ color: rgb(27, 72, 114);
/* oklch */ color: oklch(39.3% 0.087 249.7);
Tailwind
colors: {
  custom: {
    50: '#647a9b',
    500: '#1b4872',
    950: '#000000',
  },
}
SCSS
$custom: #1b4872;
$custom-light: #647a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4872",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 208.966,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39269,
    "c": 0.08663,
    "h": 249.7
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#1B4872
secondary
#A77342
accent
#9143E5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1B4872

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

Preview Lab → · Contrast checker → · Palette generator →

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