#1B5F8E#1B5F8E

#1B5F8E is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.8% C 0.101 H 243.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#1B5F8E
RGBrgb(27, 95, 142)
HSLhsl(205, 68%, 33%)
HSVhsv(205, 81%, 56%)
CMYKcmyk(81%, 33.1%, 0%, 44.3%)
CIE-LABlab(38.50, -3.47, -31.83)
CIE-LCHlch(38.50, 32.02, 263.77°)
OKLaboklab(46.76% -0.0443 -0.0904)
OKLCHoklch(46.76% 0.101 243.9)
XYZxyz(9.4248, 10.3693, 27.0907)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F8E #8E4A1B
analogous
#1B8E83 #1B5F8E #1B258E
triadic
#1B5F8E #8E1B5F #5F8E1B
tetradic
#1B5F8E #831B8E #8E4A1B #258E1B
square
#1B5F8E #831B8E #8E4A1B #258E1B
split-complementary
#1B5F8E #8E1B25 #8E831B
monochromatic
#071A27 #113D5B #1B5F8E #2581C1 #479FDC

Accessibility & contrast

On white

6.83
#1B5F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B5F8E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5F8E#FFFFFF#000000##FFFFFF
##1B5F8E1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496090
Deuteranopia (green-blind)
#39568D
Tritanopia (blue-blind)
#006B70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1b5f8e;
/* rgb */ color: rgb(27, 95, 142);
/* oklch */ color: oklch(46.8% 0.101 243.9);
Tailwind
colors: {
  custom: {
    50: '#6b8caf',
    500: '#1b5f8e',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f8e;
$custom-light: #6b8caf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f8e",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 142
  },
  "hsl": {
    "h": 204.522,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46763,
    "c": 0.10067,
    "h": 243.9
  },
  "luminance": 0.1037
}

Semantic roles & 50–950 ramp

primary
#1B5F8E
secondary
#BE7847
accent
#843DEB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1B5F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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