#1F455F#1F455F

#1F455F is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.5% C 0.062 H 241.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#1F455F
RGBrgb(31, 69, 95)
HSLhsl(204, 51%, 25%)
HSVhsv(204, 67%, 37%)
CMYKcmyk(67.4%, 27.4%, 0%, 62.7%)
CIE-LABlab(27.77, -4.40, -19.37)
CIE-LCHlch(27.77, 19.86, 257.20°)
OKLaboklab(37.53% -0.0301 -0.0544)
OKLCHoklch(37.53% 0.062 241)
XYZxyz(4.7580, 5.3733, 11.6107)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F455F #5F391F
analogous
#1F5F59 #1F455F #1F255F
triadic
#1F455F #5F1F45 #455F1F
tetradic
#1F455F #591F5F #5F391F #255F1F
square
#1F455F #591F5F #5F391F #255F1F
split-complementary
#1F455F #5F1F25 #5F591F
monochromatic
#081117 #102331 #1F455F #2E678D #3D88BB

Accessibility & contrast

On white

10.12
#1F455F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1F455F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F455F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F455F#FFFFFF#000000##FFFFFF
##1F455F1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394560
Deuteranopia (green-blind)
#313F5F
Tritanopia (blue-blind)
#004B4E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1f455f;
/* rgb */ color: rgb(31, 69, 95);
/* oklch */ color: oklch(37.5% 0.062 241.0);
Tailwind
colors: {
  custom: {
    50: '#62788c',
    500: '#1f455f',
    950: '#000000',
  },
}
SCSS
$custom: #1f455f;
$custom-light: #62788c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f455f",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 95
  },
  "hsl": {
    "h": 204.375,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37525,
    "c": 0.06222,
    "h": 241
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#1F455F
secondary
#946646
accent
#874EDA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05090C
muted
#7A7B7D

Preview Lab

Preview with #1F455F

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

Preview Lab → · Contrast checker → · Palette generator →

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