#1F485F#1F485F

#1F485F is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.3% C 0.060 H 235.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1F485F
RGBrgb(31, 72, 95)
HSLhsl(202, 51%, 25%)
HSVhsv(202, 67%, 37%)
CMYKcmyk(67.4%, 24.2%, 0%, 62.7%)
CIE-LABlab(28.78, -6.32, -17.81)
CIE-LCHlch(28.78, 18.90, 250.46°)
OKLaboklab(38.32% -0.0338 -0.0499)
OKLCHoklch(38.32% 0.06 235.9)
XYZxyz(4.9472, 5.7518, 11.6737)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F485F #5F361F
analogous
#1F5F56 #1F485F #1F285F
triadic
#1F485F #5F1F48 #485F1F
tetradic
#1F485F #561F5F #5F361F #285F1F
square
#1F485F #561F5F #5F361F #285F1F
split-complementary
#1F485F #5F1F28 #5F561F
monochromatic
#081117 #102531 #1F485F #2E6B8D #3D8EBB

Accessibility & contrast

On white

9.77
#1F485F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1F485F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F485F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F485F#FFFFFF#000000##FFFFFF
##1F485F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4760
Deuteranopia (green-blind)
#34415F
Tritanopia (blue-blind)
#004E50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f485f;
/* rgb */ color: rgb(31, 72, 95);
/* oklch */ color: oklch(38.3% 0.060 235.9);
Tailwind
colors: {
  custom: {
    50: '#627a8c',
    500: '#1f485f',
    950: '#000000',
  },
}
SCSS
$custom: #1f485f;
$custom-light: #627a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f485f",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 95
  },
  "hsl": {
    "h": 201.563,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.38322,
    "c": 0.06027,
    "h": 235.9
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#1F485F
secondary
#946246
accent
#804EDA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05090C
muted
#7A7B7D

Preview Lab

Preview with #1F485F

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

Preview Lab → · Contrast checker → · Palette generator →

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