#1F5E7F#1F5E7F

#1F5E7F is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.8% C 0.083 H 235.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#1F5E7F
RGBrgb(31, 94, 127)
HSLhsl(201, 61%, 31%)
HSVhsv(201, 76%, 50%)
CMYKcmyk(75.6%, 26%, 0%, 50.2%)
CIE-LABlab(37.53, -8.05, -24.22)
CIE-LCHlch(37.53, 25.52, 251.61°)
OKLaboklab(45.78% -0.0464 -0.0682)
OKLCHoklch(45.78% 0.083 235.8)
XYZxyz(8.3970, 9.8281, 21.5290)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E7F #7F401F
analogous
#1F7F70 #1F5E7F #1F2E7F
triadic
#1F5E7F #7F1F5E #5E7F1F
tetradic
#1F5E7F #701F7F #7F401F #2E7F1F
square
#1F5E7F #701F7F #7F401F #2E7F1F
split-complementary
#1F5E7F #7F1F2E #7F701F
monochromatic
#07151D #133A4E #1F5E7F #2B82B0 #46A2D2

Accessibility & contrast

On white

7.08
#1F5E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#1F5E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5E7F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E7F#FFFFFF#000000##FFFFFF
##1F5E7F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D81
Deuteranopia (green-blind)
#41547E
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5e7f;
/* rgb */ color: rgb(31, 94, 127);
/* oklch */ color: oklch(45.8% 0.083 235.8);
Tailwind
colors: {
  custom: {
    50: '#698ba4',
    500: '#1f5e7f',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e7f;
$custom-light: #698ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e7f",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 127
  },
  "hsl": {
    "h": 200.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.45781,
    "c": 0.08251,
    "h": 235.8
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

primary
#1F5E7F
secondary
#B26C48
accent
#7B44E4
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #1F5E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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