#1F5E87#1F5E87

#1F5E87 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.2% C 0.092 H 241.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#1F5E87
RGBrgb(31, 94, 135)
HSLhsl(204, 63%, 33%)
HSVhsv(204, 77%, 53%)
CMYKcmyk(77%, 30.4%, 0%, 47.1%)
CIE-LABlab(37.92, -5.04, -28.48)
CIE-LCHlch(37.92, 28.93, 259.96°)
OKLaboklab(46.22% -0.0436 -0.0806)
OKLCHoklch(46.22% 0.092 241.6)
XYZxyz(8.9392, 10.0449, 24.3847)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E87 #87481F
analogous
#1F877C #1F5E87 #1F2A87
triadic
#1F5E87 #871F5E #5E871F
tetradic
#1F5E87 #7C1F87 #87481F #2A871F
square
#1F5E87 #7C1F87 #87481F #2A871F
split-complementary
#1F5E87 #871F2A #877C1F
monochromatic
#081923 #143B55 #1F5E87 #2A81B9 #4B9FD6

Accessibility & contrast

On white

6.98
#1F5E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1F5E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5E87
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E87#FFFFFF#000000##FFFFFF
##1F5E871.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5e87;
/* rgb */ color: rgb(31, 94, 135);
/* oklch */ color: oklch(46.2% 0.092 241.6);
Tailwind
colors: {
  custom: {
    50: '#6a8baa',
    500: '#1f5e87',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e87;
$custom-light: #6a8baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e87",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 203.654,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4622,
    "c": 0.09163,
    "h": 241.6
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#1F5E87
secondary
#B8754A
accent
#8342E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C10
muted
#7A7D7F

Preview Lab

Preview with #1F5E87

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

Preview Lab → · Contrast checker → · Palette generator →

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