#1F5B83#1F5B83

#1F5B83 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.2% C 0.089 H 242.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#1F5B83
RGBrgb(31, 91, 131)
HSLhsl(204, 62%, 32%)
HSVhsv(204, 76%, 51%)
CMYKcmyk(76.3%, 30.5%, 0%, 48.6%)
CIE-LABlab(36.76, -4.71, -27.87)
CIE-LCHlch(36.76, 28.26, 260.42°)
OKLaboklab(45.24% -0.0418 -0.0788)
OKLCHoklch(45.24% 0.089 242)
XYZxyz(8.4013, 9.4112, 22.8421)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B83 #83471F
analogous
#1F8379 #1F5B83 #1F2983
triadic
#1F5B83 #831F5B #5B831F
tetradic
#1F5B83 #791F83 #83471F #29831F
square
#1F5B83 #791F83 #83471F #29831F
split-complementary
#1F5B83 #831F29 #83791F
monochromatic
#081620 #133952 #1F5B83 #2B7DB4 #499CD4

Accessibility & contrast

On white

7.29
#1F5B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5B83
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B83#FFFFFF#000000##FFFFFF
##1F5B831.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485C85
Deuteranopia (green-blind)
#3B5282
Tritanopia (blue-blind)
#006569
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5b83;
/* rgb */ color: rgb(31, 91, 131);
/* oklch */ color: oklch(45.2% 0.089 242.0);
Tailwind
colors: {
  custom: {
    50: '#6989a7',
    500: '#1f5b83',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b83;
$custom-light: #6989a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b83",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 131
  },
  "hsl": {
    "h": 204,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.08925,
    "h": 242
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#1F5B83
secondary
#B67448
accent
#8443E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5B83

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

Preview Lab → · Contrast checker → · Palette generator →

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