#1F5E8F#1F5E8F

#1F5E8F is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.101 H 246.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#1F5E8F
RGBrgb(31, 94, 143)
HSLhsl(206, 64%, 34%)
HSVhsv(206, 78%, 56%)
CMYKcmyk(78.3%, 34.3%, 0%, 43.9%)
CIE-LABlab(38.34, -1.98, -32.68)
CIE-LCHlch(38.34, 32.74, 266.53°)
OKLaboklab(46.68% -0.041 -0.0928)
OKLCHoklch(46.68% 0.101 246.2)
XYZxyz(9.5238, 10.2788, 27.4633)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E8F #8F501F
analogous
#1F8F88 #1F5E8F #1F268F
triadic
#1F5E8F #8F1F5E #5E8F1F
tetradic
#1F5E8F #881F8F #8F501F #268F1F
square
#1F5E8F #881F8F #8F501F #268F1F
split-complementary
#1F5E8F #8F1F26 #8F881F
monochromatic
#091C2A #143D5D #1F5E8F #2A7FC1 #4F9DD9

Accessibility & contrast

On white

6.87
#1F5E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#1F5E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5E8F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E8F#FFFFFF#000000##FFFFFF
##1F5E8F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#37568E
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5e8f;
/* rgb */ color: rgb(31, 94, 143);
/* oklch */ color: oklch(46.7% 0.101 246.2);
Tailwind
colors: {
  custom: {
    50: '#6c8bb0',
    500: '#1f5e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e8f;
$custom-light: #6c8bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e8f",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 143
  },
  "hsl": {
    "h": 206.25,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46684,
    "c": 0.10148,
    "h": 246.2
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#1F5E8F
secondary
#BC7E4E
accent
#8940E7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #1F5E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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