#1B5F8A#1B5F8A

#1B5F8A is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.5% C 0.096 H 241.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#1B5F8A
RGBrgb(27, 95, 138)
HSLhsl(203, 67%, 32%)
HSVhsv(203, 80%, 54%)
CMYKcmyk(80.4%, 31.2%, 0%, 45.9%)
CIE-LABlab(38.29, -5.02, -29.74)
CIE-LCHlch(38.29, 30.16, 260.42°)
OKLaboklab(46.53% -0.0457 -0.0843)
OKLCHoklch(46.53% 0.096 241.6)
XYZxyz(9.1298, 10.2513, 25.5373)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F8A #8A461B
analogous
#1B8A7D #1B5F8A #1B288A
triadic
#1B5F8A #8A1B5F #5F8A1B
tetradic
#1B5F8A #7D1B8A #8A461B #288A1B
square
#1B5F8A #7D1B8A #8A461B #288A1B
split-complementary
#1B5F8A #8A1B28 #8A7D1B
monochromatic
#071924 #113C57 #1B5F8A #2582BD #45A1DB

Accessibility & contrast

On white

6.88
#1B5F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1B5F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B5F8A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5F8A#FFFFFF#000000##FFFFFF
##1B5F8A1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#006A6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1b5f8a;
/* rgb */ color: rgb(27, 95, 138);
/* oklch */ color: oklch(46.5% 0.096 241.6);
Tailwind
colors: {
  custom: {
    50: '#6a8cac',
    500: '#1b5f8a',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f8a;
$custom-light: #6a8cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f8a",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 203.243,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4653,
    "c": 0.09583,
    "h": 241.6
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#1B5F8A
secondary
#BC7345
accent
#803EEA
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C10
muted
#7A7D7F

Preview Lab

Preview with #1B5F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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