#1F5E88#1F5E88

#1F5E88 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.3% C 0.093 H 242.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#1F5E88
RGBrgb(31, 94, 136)
HSLhsl(204, 63%, 33%)
HSVhsv(204, 77%, 53%)
CMYKcmyk(77.2%, 30.9%, 0%, 46.7%)
CIE-LABlab(37.97, -4.66, -29.01)
CIE-LCHlch(37.97, 29.39, 260.87°)
OKLaboklab(46.28% -0.0432 -0.0821)
OKLCHoklch(46.28% 0.093 242.2)
XYZxyz(9.0100, 10.0732, 24.7572)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E88 #88491F
analogous
#1F887D #1F5E88 #1F2A88
triadic
#1F5E88 #881F5E #5E881F
tetradic
#1F5E88 #7D1F88 #88491F #2A881F
square
#1F5E88 #7D1F88 #88491F #2A881F
split-complementary
#1F5E88 #881F2A #887D1F
monochromatic
#081924 #143C56 #1F5E88 #2A80BA #4B9FD6

Accessibility & contrast

On white

6.97
#1F5E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1F5E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5E88
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E88#FFFFFF#000000##FFFFFF
##1F5E881.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F8A
Deuteranopia (green-blind)
#3C5587
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5e88;
/* rgb */ color: rgb(31, 94, 136);
/* oklch */ color: oklch(46.3% 0.093 242.2);
Tailwind
colors: {
  custom: {
    50: '#6b8bab',
    500: '#1f5e88',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e88;
$custom-light: #6b8bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e88",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 136
  },
  "hsl": {
    "h": 204,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46276,
    "c": 0.09282,
    "h": 242.2
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#1F5E88
secondary
#B9764A
accent
#8342E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C10
muted
#7A7D7F

Preview Lab

Preview with #1F5E88

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

Preview Lab → · Contrast checker → · Palette generator →

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