#1F5D88#1F5D88

#1F5D88 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.0% C 0.094 H 243.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#1F5D88
RGBrgb(31, 93, 136)
HSLhsl(205, 63%, 33%)
HSVhsv(205, 77%, 53%)
CMYKcmyk(77.2%, 31.6%, 0%, 46.7%)
CIE-LABlab(37.66, -4.04, -29.51)
CIE-LCHlch(37.66, 29.79, 262.20°)
OKLaboklab(46.03% -0.0422 -0.0836)
OKLCHoklch(46.03% 0.094 243.2)
XYZxyz(8.9216, 9.8965, 24.7278)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D88 #884A1F
analogous
#1F887E #1F5D88 #1F2988
triadic
#1F5D88 #881F5D #5D881F
tetradic
#1F5D88 #7E1F88 #884A1F #29881F
square
#1F5D88 #7E1F88 #884A1F #29881F
split-complementary
#1F5D88 #881F29 #887E1F
monochromatic
#081924 #143B56 #1F5D88 #2A7FBA #4B9DD6

Accessibility & contrast

On white

7.05
#1F5D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#1F5D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D88
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D88#FFFFFF#000000##FFFFFF
##1F5D881.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E8A
Deuteranopia (green-blind)
#3B5487
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5d88;
/* rgb */ color: rgb(31, 93, 136);
/* oklch */ color: oklch(46.0% 0.094 243.2);
Tailwind
colors: {
  custom: {
    50: '#6b8aab',
    500: '#1f5d88',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d88;
$custom-light: #6b8aab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d88",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 136
  },
  "hsl": {
    "h": 204.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46025,
    "c": 0.09366,
    "h": 243.2
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#1F5D88
secondary
#B9774A
accent
#8542E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5D88

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

Preview Lab → · Contrast checker → · Palette generator →

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