#1F495F#1F495F

#1F495F is a dark, muted cyan. Relative luminance 0.059; OKLCH L 38.6% C 0.060 H 234.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#1F495F
RGBrgb(31, 73, 95)
HSLhsl(201, 51%, 25%)
HSVhsv(201, 67%, 37%)
CMYKcmyk(67.4%, 23.2%, 0%, 62.7%)
CIE-LABlab(29.11, -6.95, -17.29)
CIE-LCHlch(29.11, 18.64, 248.10°)
OKLaboklab(38.59% -0.035 -0.0484)
OKLCHoklch(38.59% 0.06 234.2)
XYZxyz(5.0124, 5.8821, 11.6955)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F495F #5F351F
analogous
#1F5F55 #1F495F #1F295F
triadic
#1F495F #5F1F49 #495F1F
tetradic
#1F495F #551F5F #5F351F #295F1F
square
#1F495F #551F5F #5F351F #295F1F
split-complementary
#1F495F #5F1F29 #5F551F
monochromatic
#081217 #102631 #1F495F #2E6C8D #3D90BB

Accessibility & contrast

On white

9.65
#1F495F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1F495F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F495F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F495F#FFFFFF#000000##FFFFFF
##1F495F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#36425F
Tritanopia (blue-blind)
#004F50
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f495f;
/* rgb */ color: rgb(31, 73, 95);
/* oklch */ color: oklch(38.6% 0.060 234.2);
Tailwind
colors: {
  custom: {
    50: '#627b8c',
    500: '#1f495f',
    950: '#000000',
  },
}
SCSS
$custom: #1f495f;
$custom-light: #627b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f495f",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 95
  },
  "hsl": {
    "h": 200.625,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.38589,
    "c": 0.05973,
    "h": 234.2
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#1F495F
secondary
#946146
accent
#7E4EDA
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#05090C
muted
#7A7B7D

Preview Lab

Preview with #1F495F

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

Preview Lab → · Contrast checker → · Palette generator →

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