#1F5366#1F5366

#1F5366 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.6% C 0.063 H 225.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#1F5366
RGBrgb(31, 83, 102)
HSLhsl(196, 53%, 26%)
HSVhsv(196, 70%, 40%)
CMYKcmyk(69.6%, 18.6%, 0%, 60%)
CIE-LABlab(32.78, -10.56, -16.08)
CIE-LCHlch(32.78, 19.23, 236.69°)
OKLaboklab(41.62% -0.044 -0.0449)
OKLCHoklch(41.62% 0.063 225.6)
XYZxyz(6.0556, 7.4365, 13.6840)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5366 #66321F
analogous
#1F6655 #1F5366 #1F2F66
triadic
#1F5366 #661F53 #53661F
tetradic
#1F5366 #551F66 #66321F #2F661F
square
#1F5366 #551F66 #66321F #2F661F
split-complementary
#1F5366 #661F2F #66551F
monochromatic
#071317 #112D37 #1F5366 #2D7995 #3C9FC4

Accessibility & contrast

On white

8.44
#1F5366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1F5366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5366
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5366#FFFFFF#000000##FFFFFF
##1F53661.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495167
Deuteranopia (green-blind)
#3F4A66
Tritanopia (blue-blind)
#005959
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f5366;
/* rgb */ color: rgb(31, 83, 102);
/* oklch */ color: oklch(41.6% 0.063 225.6);
Tailwind
colors: {
  custom: {
    50: '#648391',
    500: '#1f5366',
    950: '#000000',
  },
}
SCSS
$custom: #1f5366;
$custom-light: #648391;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5366",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 102
  },
  "hsl": {
    "h": 196.056,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.41617,
    "c": 0.06289,
    "h": 225.6
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#1F5366
secondary
#9A5D46
accent
#724BDD
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #1F5366

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

Preview Lab → · Contrast checker → · Palette generator →

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