#1F6587#1F6587

#1F6587 is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.0% C 0.087 H 234.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#1F6587
RGBrgb(31, 101, 135)
HSLhsl(200, 63%, 33%)
HSVhsv(200, 77%, 53%)
CMYKcmyk(77%, 25.2%, 0%, 47.1%)
CIE-LABlab(40.16, -9.29, -24.99)
CIE-LCHlch(40.16, 26.66, 249.61°)
OKLaboklab(48% -0.0508 -0.0704)
OKLCHoklch(48% 0.087 234.2)
XYZxyz(9.5902, 11.3468, 24.6017)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6587 #87411F
analogous
#1F8775 #1F6587 #1F3187
triadic
#1F6587 #871F65 #65871F
tetradic
#1F6587 #751F87 #87411F #31871F
square
#1F6587 #751F87 #87411F #31871F
split-complementary
#1F6587 #871F31 #87751F
monochromatic
#081B23 #144055 #1F6587 #2A8AB9 #4BA8D6

Accessibility & contrast

On white

6.42
#1F6587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#1F6587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6587
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6587#FFFFFF#000000##FFFFFF
##1F65871.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546489
Deuteranopia (green-blind)
#465A86
Tritanopia (blue-blind)
#006E71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6587;
/* rgb */ color: rgb(31, 101, 135);
/* oklch */ color: oklch(48.0% 0.087 234.2);
Tailwind
colors: {
  custom: {
    50: '#6b90aa',
    500: '#1f6587',
    950: '#000000',
  },
}
SCSS
$custom: #1f6587;
$custom-light: #6b90aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6587",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 135
  },
  "hsl": {
    "h": 199.615,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.47995,
    "c": 0.08678,
    "h": 234.2
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#1F6587
secondary
#B86E4A
accent
#7842E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C10
muted
#7A7D7F

Preview Lab

Preview with #1F6587

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

Preview Lab → · Contrast checker → · Palette generator →

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