#1F5A88#1F5A88

#1F5A88 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.3% C 0.096 H 246.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#1F5A88
RGBrgb(31, 90, 136)
HSLhsl(206, 63%, 33%)
HSVhsv(206, 77%, 53%)
CMYKcmyk(77.2%, 33.8%, 0%, 46.7%)
CIE-LABlab(36.71, -2.16, -31.01)
CIE-LCHlch(36.71, 31.08, 266.01°)
OKLaboklab(45.28% -0.0392 -0.088)
OKLCHoklch(45.28% 0.096 246)
XYZxyz(8.6635, 9.3802, 24.6417)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5A88 #884D1F
analogous
#1F8881 #1F5A88 #1F2588
triadic
#1F5A88 #881F5A #5A881F
tetradic
#1F5A88 #811F88 #884D1F #25881F
square
#1F5A88 #811F88 #884D1F #25881F
split-complementary
#1F5A88 #881F25 #88811F
monochromatic
#081824 #143956 #1F5A88 #2A7BBA #4B99D6

Accessibility & contrast

On white

7.30
#1F5A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#1F5A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5A88
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5A88#FFFFFF#000000##FFFFFF
##1F5A881.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8A
Deuteranopia (green-blind)
#365287
Tritanopia (blue-blind)
#00656A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5a88;
/* rgb */ color: rgb(31, 90, 136);
/* oklch */ color: oklch(45.3% 0.096 246.0);
Tailwind
colors: {
  custom: {
    50: '#6a88ab',
    500: '#1f5a88',
    950: '#000000',
  },
}
SCSS
$custom: #1f5a88;
$custom-light: #6a88ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5a88",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 136
  },
  "hsl": {
    "h": 206.286,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45275,
    "c": 0.09634,
    "h": 246
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

primary
#1F5A88
secondary
#B97B4A
accent
#8A42E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5A88

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

Preview Lab → · Contrast checker → · Palette generator →

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