#1B4772#1B4772

#1B4772 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.0% C 0.088 H 250.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#1B4772
RGBrgb(27, 71, 114)
HSLhsl(210, 62%, 28%)
HSVhsv(210, 76%, 45%)
CMYKcmyk(76.3%, 37.7%, 0%, 55.3%)
CIE-LABlab(29.30, 0.94, -29.10)
CIE-LCHlch(29.30, 29.11, 271.86°)
OKLaboklab(39.02% -0.029 -0.0828)
OKLCHoklch(39.02% 0.088 250.7)
XYZxyz(5.7414, 5.9538, 16.7629)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4772 #72461B
analogous
#1B7271 #1B4772 #1B1C72
triadic
#1B4772 #721B47 #47721B
tetradic
#1B4772 #711B72 #72461B #1C721B
square
#1B4772 #711B72 #72461B #1C721B
split-complementary
#1B4772 #721B1C #72711B
monochromatic
#060F19 #0F2841 #1B4772 #2766A3 #3885D0

Accessibility & contrast

On white

9.59
#1B4772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1B4772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4772
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4772#FFFFFF#000000##FFFFFF
##1B47721.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334974
Deuteranopia (green-blind)
#274171
Tritanopia (blue-blind)
#005157
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4772;
/* rgb */ color: rgb(27, 71, 114);
/* oklch */ color: oklch(39.0% 0.088 250.7);
Tailwind
colors: {
  custom: {
    50: '#64799b',
    500: '#1b4772',
    950: '#000000',
  },
}
SCSS
$custom: #1b4772;
$custom-light: #64799b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4772",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 114
  },
  "hsl": {
    "h": 209.655,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39016,
    "c": 0.0877,
    "h": 250.7
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#1B4772
secondary
#A77442
accent
#9343E5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1B4772

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

Preview Lab → · Contrast checker → · Palette generator →

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