#1B5897#1B5897

#1B5897 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.120 H 252.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#1B5897
RGBrgb(27, 88, 151)
HSLhsl(210, 70%, 35%)
HSVhsv(210, 82%, 59%)
CMYKcmyk(82.1%, 41.7%, 0%, 40.8%)
CIE-LABlab(36.83, 4.54, -39.91)
CIE-LCHlch(36.83, 40.17, 276.49°)
OKLaboklab(45.62% -0.0354 -0.1142)
OKLCHoklch(45.62% 0.12 252.8)
XYZxyz(9.5255, 9.4457, 30.5933)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5897 #975A1B
analogous
#1B9697 #1B5897 #1C1B97
triadic
#1B5897 #971B58 #58971B
tetradic
#1B5897 #971B96 #975A1B #1B971C
square
#1B5897 #971B96 #975A1B #1B971C
split-complementary
#1B5897 #971C1B #96971B
monochromatic
#081B2F #123A63 #1B5897 #2476CB #4D95DF

Accessibility & contrast

On white

7.27
#1B5897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1B5897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5897
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5897#FFFFFF#000000##FFFFFF
##1B58971.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D99
Deuteranopia (green-blind)
#245296
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1b5897;
/* rgb */ color: rgb(27, 88, 151);
/* oklch */ color: oklch(45.6% 0.120 252.8);
Tailwind
colors: {
  custom: {
    50: '#6c86b6',
    500: '#1b5897',
    950: '#000000',
  },
}
SCSS
$custom: #1b5897;
$custom-light: #6c86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5897",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 210.484,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.11953,
    "h": 252.8
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#1B5897
secondary
#C1884C
accent
#953BEC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1B5897

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

Preview Lab → · Contrast checker → · Palette generator →

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