#1B4576#1B4576

#1B4576 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.8% C 0.096 H 254.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#1B4576
RGBrgb(27, 69, 118)
HSLhsl(212, 63%, 28%)
HSVhsv(212, 77%, 46%)
CMYKcmyk(77.1%, 41.5%, 0%, 53.7%)
CIE-LABlab(28.89, 3.89, -32.25)
CIE-LCHlch(28.89, 32.49, 276.88°)
OKLaboklab(38.78% -0.0259 -0.0921)
OKLCHoklch(38.78% 0.096 254.3)
XYZxyz(5.8489, 5.7966, 17.9466)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4576 #764C1B
analogous
#1B7276 #1B4576 #1E1B76
triadic
#1B4576 #761B45 #45761B
tetradic
#1B4576 #761B72 #764C1B #1B761E
square
#1B4576 #761B72 #764C1B #1B761E
split-complementary
#1B4576 #761E1B #72761B
monochromatic
#060F19 #102844 #1B4576 #2662A8 #3A80D2

Accessibility & contrast

On white

9.72
#1B4576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1B4576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4576
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4576#FFFFFF#000000##FFFFFF
##1B45761.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4978
Deuteranopia (green-blind)
#1F4075
Tritanopia (blue-blind)
#005157
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4576;
/* rgb */ color: rgb(27, 69, 118);
/* oklch */ color: oklch(38.8% 0.096 254.3);
Tailwind
colors: {
  custom: {
    50: '#65789e',
    500: '#1b4576',
    950: '#000000',
  },
}
SCSS
$custom: #1b4576;
$custom-light: #65789e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4576",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 118
  },
  "hsl": {
    "h": 212.308,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38779,
    "c": 0.09562,
    "h": 254.3
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#1B4576
secondary
#AA7A42
accent
#9A42E6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1B4576

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

Preview Lab → · Contrast checker → · Palette generator →

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