#1F5C8E#1F5C8E

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

Color values

HEX#1F5C8E
RGBrgb(31, 92, 142)
HSLhsl(207, 64%, 34%)
HSVhsv(207, 78%, 56%)
CMYKcmyk(78.2%, 35.2%, 0%, 44.3%)
CIE-LABlab(37.66, -1.11, -33.15)
CIE-LCHlch(37.66, 33.17, 268.09°)
OKLaboklab(46.13% -0.0394 -0.0942)
OKLCHoklch(46.13% 0.102 247.3)
XYZxyz(9.2728, 9.8975, 27.0076)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C8E #8E511F
analogous
#1F8E89 #1F5C8E #1F258E
triadic
#1F5C8E #8E1F5C #5C8E1F
tetradic
#1F5C8E #891F8E #8E511F #258E1F
square
#1F5C8E #891F8E #8E511F #258E1F
split-complementary
#1F5C8E #8E1F25 #8E891F
monochromatic
#091B2A #143B5C #1F5C8E #2A7DC0 #4F9BD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F5C8E#FFFFFF#000000##FFFFFF
##1F5C8E1.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)
#455E90
Deuteranopia (green-blind)
#35548D
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5c8e;
/* rgb */ color: rgb(31, 92, 142);
/* oklch */ color: oklch(46.1% 0.102 247.3);
Tailwind
colors: {
  custom: {
    50: '#6c89af',
    500: '#1f5c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c8e;
$custom-light: #6c89af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c8e",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 207.027,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.10212,
    "h": 247.3
  },
  "luminance": 0.09899
}

Semantic roles & 50–950 ramp

primary
#1F5C8E
secondary
#BB7F4D
accent
#8C41E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F5C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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