#1B5F97#1B5F97

#1B5F97 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.3% C 0.112 H 248.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#1B5F97
RGBrgb(27, 95, 151)
HSLhsl(207, 70%, 35%)
HSVhsv(207, 82%, 59%)
CMYKcmyk(82.1%, 37.1%, 0%, 40.8%)
CIE-LABlab(38.99, 0.04, -36.48)
CIE-LCHlch(38.99, 36.48, 270.06°)
OKLaboklab(47.31% -0.0417 -0.104)
OKLCHoklch(47.31% 0.112 248.2)
XYZxyz(10.1280, 10.6506, 30.7941)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F97 #97531B
analogous
#1B9791 #1B5F97 #1B2197
triadic
#1B5F97 #971B5F #5F971B
tetradic
#1B5F97 #911B97 #97531B #21971B
square
#1B5F97 #911B97 #97531B #21971B
split-complementary
#1B5F97 #971B21 #97911B
monochromatic
#081E2F #123E63 #1B5F97 #2480CB #4D9DDF

Accessibility & contrast

On white

6.71
#1B5F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#1B5F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B5F97
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5F97#FFFFFF#000000##FFFFFF
##1B5F971.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#325796
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1b5f97;
/* rgb */ color: rgb(27, 95, 151);
/* oklch */ color: oklch(47.3% 0.112 248.2);
Tailwind
colors: {
  custom: {
    50: '#6d8cb6',
    500: '#1b5f97',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f97;
$custom-light: #6d8cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f97",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 207.097,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47307,
    "c": 0.112,
    "h": 248.2
  },
  "luminance": 0.10652
}

Semantic roles & 50–950 ramp

primary
#1B5F97
secondary
#C1814C
accent
#8B3BEC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1B5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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