#1F4E6F#1F4E6F

#1F4E6F is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.8% C 0.075 H 242.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#1F4E6F
RGBrgb(31, 78, 111)
HSLhsl(205, 56%, 28%)
HSVhsv(205, 72%, 44%)
CMYKcmyk(72.1%, 29.7%, 0%, 56.5%)
CIE-LABlab(31.55, -4.14, -23.65)
CIE-LCHlch(31.55, 24.01, 260.08°)
OKLaboklab(40.78% -0.0348 -0.0667)
OKLCHoklch(40.78% 0.075 242.5)
XYZxyz(6.1576, 6.8871, 16.0407)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E6F #6F401F
analogous
#1F6F68 #1F4E6F #1F266F
triadic
#1F4E6F #6F1F4E #4E6F1F
tetradic
#1F4E6F #681F6F #6F401F #266F1F
square
#1F4E6F #681F6F #6F401F #266F1F
split-complementary
#1F4E6F #6F1F26 #6F681F
monochromatic
#071118 #122C3F #1F4E6F #2C709F #3F90C9

Accessibility & contrast

On white

8.83
#1F4E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1F4E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E6F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E6F#FFFFFF#000000##FFFFFF
##1F4E6F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F70
Deuteranopia (green-blind)
#34476E
Tritanopia (blue-blind)
#005659
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4e6f;
/* rgb */ color: rgb(31, 78, 111);
/* oklch */ color: oklch(40.8% 0.075 242.5);
Tailwind
colors: {
  custom: {
    50: '#657f98',
    500: '#1f4e6f',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e6f;
$custom-light: #657f98;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e6f",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 111
  },
  "hsl": {
    "h": 204.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40776,
    "c": 0.07526,
    "h": 242.5
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#1F4E6F
secondary
#A36D47
accent
#8748E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F4E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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