#1F445D#1F445D

#1F445D is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.1% C 0.060 H 240.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#1F445D
RGBrgb(31, 68, 93)
HSLhsl(204, 50%, 24%)
HSVhsv(204, 67%, 36%)
CMYKcmyk(66.7%, 26.9%, 0%, 63.5%)
CIE-LABlab(27.34, -4.50, -18.76)
CIE-LCHlch(27.34, 19.29, 256.50°)
OKLaboklab(37.15% -0.0297 -0.0527)
OKLCHoklch(37.15% 0.06 240.6)
XYZxyz(4.6072, 5.2154, 11.1177)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F445D #5D381F
analogous
#1F5D57 #1F445D #1F255D
triadic
#1F445D #5D1F44 #445D1F
tetradic
#1F445D #571F5D #5D381F #255D1F
square
#1F445D #571F5D #5D381F #255D1F
split-complementary
#1F445D #5D1F25 #5D571F
monochromatic
#081117 #10222F #1F445D #2E668B #3E87B9

Accessibility & contrast

On white

10.28
#1F445D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1F445D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F445D
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F445D#FFFFFF#000000##FFFFFF
##1F445D1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39445E
Deuteranopia (green-blind)
#303E5D
Tritanopia (blue-blind)
#004A4D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f445d;
/* rgb */ color: rgb(31, 68, 93);
/* oklch */ color: oklch(37.1% 0.060 240.6);
Tailwind
colors: {
  custom: {
    50: '#62778b',
    500: '#1f445d',
    950: '#000000',
  },
}
SCSS
$custom: #1f445d;
$custom-light: #62778b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f445d",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 93
  },
  "hsl": {
    "h": 204.194,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3715,
    "c": 0.06045,
    "h": 240.6
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#1F445D
secondary
#926546
accent
#864EDA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05080C
muted
#7A7B7D

Preview Lab

Preview with #1F445D

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

Preview Lab → · Contrast checker → · Palette generator →

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