#1B5B7D#1B5B7D

#1B5B7D is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.8% C 0.084 H 236.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#1B5B7D
RGBrgb(27, 91, 125)
HSLhsl(201, 64%, 30%)
HSVhsv(201, 78%, 49%)
CMYKcmyk(78.4%, 27.2%, 0%, 51%)
CIE-LABlab(36.36, -7.53, -24.84)
CIE-LCHlch(36.36, 25.95, 253.13°)
OKLaboklab(44.78% -0.0461 -0.0701)
OKLCHoklch(44.78% 0.084 236.6)
XYZxyz(7.8933, 9.1949, 20.7569)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5B7D #7D3D1B
analogous
#1B7D6E #1B5B7D #1B2A7D
triadic
#1B5B7D #7D1B5B #5B7D1B
tetradic
#1B5B7D #6E1B7D #7D3D1B #2A7D1B
square
#1B5B7D #6E1B7D #7D3D1B #2A7D1B
split-complementary
#1B5B7D #7D1B2A #7D6E1B
monochromatic
#051219 #10364B #1B5B7D #2680AF #3DA0D5

Accessibility & contrast

On white

7.40
#1B5B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1B5B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5B7D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5B7D#FFFFFF#000000##FFFFFF
##1B5B7D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B7F
Deuteranopia (green-blind)
#3D517C
Tritanopia (blue-blind)
#006467
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1b5b7d;
/* rgb */ color: rgb(27, 91, 125);
/* oklch */ color: oklch(44.8% 0.084 236.6);
Tailwind
colors: {
  custom: {
    50: '#6789a3',
    500: '#1b5b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1b5b7d;
$custom-light: #6789a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5b7d",
  "rgb": {
    "r": 27,
    "g": 91,
    "b": 125
  },
  "hsl": {
    "h": 200.816,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.44784,
    "c": 0.08391,
    "h": 236.6
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#1B5B7D
secondary
#B16943
accent
#7A40E7
background
#F6F8FA
surface
#EBF0F3
border
#C6CBCD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1B5B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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