#1F5F88#1F5F88

#1F5F88 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.5% C 0.092 H 241.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#1F5F88
RGBrgb(31, 95, 136)
HSLhsl(203, 63%, 33%)
HSVhsv(203, 77%, 53%)
CMYKcmyk(77.2%, 30.1%, 0%, 46.7%)
CIE-LABlab(38.29, -5.28, -28.51)
CIE-LCHlch(38.29, 29.00, 259.51°)
OKLaboklab(46.53% -0.0443 -0.0807)
OKLCHoklch(46.53% 0.092 241.2)
XYZxyz(9.0995, 10.2522, 24.7871)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F88 #88481F
analogous
#1F887D #1F5F88 #1F2A88
triadic
#1F5F88 #881F5F #5F881F
tetradic
#1F5F88 #7D1F88 #88481F #2A881F
square
#1F5F88 #7D1F88 #88481F #2A881F
split-complementary
#1F5F88 #881F2A #887D1F
monochromatic
#081924 #143C56 #1F5F88 #2A82BA #4BA0D6

Accessibility & contrast

On white

6.88
#1F5F88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1F5F88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5F88
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F88#FFFFFF#000000##FFFFFF
##1F5F881.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608A
Deuteranopia (green-blind)
#3D5687
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5f88;
/* rgb */ color: rgb(31, 95, 136);
/* oklch */ color: oklch(46.5% 0.092 241.2);
Tailwind
colors: {
  custom: {
    50: '#6b8cab',
    500: '#1f5f88',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f88;
$custom-light: #6b8cab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f88",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 136
  },
  "hsl": {
    "h": 203.429,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46528,
    "c": 0.09201,
    "h": 241.2
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#1F5F88
secondary
#B9754A
accent
#8242E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C10
muted
#7A7D7F

Preview Lab

Preview with #1F5F88

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

Preview Lab → · Contrast checker → · Palette generator →

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