#1B5F8D#1B5F8D

#1B5F8D is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.099 H 243.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#1B5F8D
RGBrgb(27, 95, 141)
HSLhsl(204, 68%, 33%)
HSVhsv(204, 81%, 55%)
CMYKcmyk(80.9%, 32.6%, 0%, 44.7%)
CIE-LABlab(38.44, -3.86, -31.31)
CIE-LCHlch(38.44, 31.55, 262.97°)
OKLaboklab(46.7% -0.0447 -0.0888)
OKLCHoklch(46.7% 0.099 243.3)
XYZxyz(9.3500, 10.3394, 26.6971)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F8D #8D491B
analogous
#1B8D82 #1B5F8D #1B268D
triadic
#1B5F8D #8D1B5F #5F8D1B
tetradic
#1B5F8D #821B8D #8D491B #268D1B
square
#1B5F8D #821B8D #8D491B #268D1B
split-complementary
#1B5F8D #8D1B26 #8D821B
monochromatic
#071A26 #113C5A #1B5F8D #2582C0 #47A0DC

Accessibility & contrast

On white

6.84
#1B5F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1B5F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B5F8D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5F8D#FFFFFF#000000##FFFFFF
##1B5F8D1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608F
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1b5f8d;
/* rgb */ color: rgb(27, 95, 141);
/* oklch */ color: oklch(46.7% 0.099 243.3);
Tailwind
colors: {
  custom: {
    50: '#6a8cae',
    500: '#1b5f8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f8d;
$custom-light: #6a8cae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f8d",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 204.211,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46704,
    "c": 0.09945,
    "h": 243.3
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#1B5F8D
secondary
#BD7646
accent
#833DEB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1B5F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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