#1F5D8F#1F5D8F

#1F5D8F is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.4% C 0.102 H 247.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#1F5D8F
RGBrgb(31, 93, 143)
HSLhsl(207, 64%, 34%)
HSVhsv(207, 78%, 56%)
CMYKcmyk(78.3%, 35%, 0%, 43.9%)
CIE-LABlab(38.03, -1.35, -33.17)
CIE-LCHlch(38.03, 33.20, 267.67°)
OKLaboklab(46.44% -0.04 -0.0943)
OKLCHoklch(46.44% 0.102 247)
XYZxyz(9.4354, 10.1021, 27.4339)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D8F #8F511F
analogous
#1F8F89 #1F5D8F #1F258F
triadic
#1F5D8F #8F1F5D #5D8F1F
tetradic
#1F5D8F #891F8F #8F511F #258F1F
square
#1F5D8F #891F8F #8F511F #258F1F
split-complementary
#1F5D8F #8F1F25 #8F891F
monochromatic
#091C2A #143C5D #1F5D8F #2A7EC1 #4F9CD9

Accessibility & contrast

On white

6.95
#1F5D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#1F5D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5D8F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D8F#FFFFFF#000000##FFFFFF
##1F5D8F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F91
Deuteranopia (green-blind)
#36558E
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5d8f;
/* rgb */ color: rgb(31, 93, 143);
/* oklch */ color: oklch(46.4% 0.102 247.0);
Tailwind
colors: {
  custom: {
    50: '#6c8ab0',
    500: '#1f5d8f',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d8f;
$custom-light: #6c8ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d8f",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 143
  },
  "hsl": {
    "h": 206.786,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46437,
    "c": 0.10243,
    "h": 247
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#1F5D8F
secondary
#BC7F4E
accent
#8B40E7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #1F5D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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