#1F4E6E#1F4E6E

#1F4E6E is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.7% C 0.074 H 241.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#1F4E6E
RGBrgb(31, 78, 110)
HSLhsl(204, 56%, 28%)
HSVhsv(204, 72%, 43%)
CMYKcmyk(71.8%, 29.1%, 0%, 56.9%)
CIE-LABlab(31.50, -4.52, -23.10)
CIE-LCHlch(31.50, 23.54, 258.94°)
OKLaboklab(40.72% -0.0351 -0.0651)
OKLCHoklch(40.72% 0.074 241.6)
XYZxyz(6.1029, 6.8652, 15.7523)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E6E #6E3F1F
analogous
#1F6E66 #1F4E6E #1F266E
triadic
#1F4E6E #6E1F4E #4E6E1F
tetradic
#1F4E6E #661F6E #6E3F1F #266E1F
square
#1F4E6E #661F6E #6E3F1F #266E1F
split-complementary
#1F4E6E #6E1F26 #6E661F
monochromatic
#071118 #122C3E #1F4E6E #2C709E #3F91C9

Accessibility & contrast

On white

8.85
#1F4E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1F4E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E6E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E6E#FFFFFF#000000##FFFFFF
##1F4E6E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6F
Deuteranopia (green-blind)
#35476D
Tritanopia (blue-blind)
#005659
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4e6e;
/* rgb */ color: rgb(31, 78, 110);
/* oklch */ color: oklch(40.7% 0.074 241.6);
Tailwind
colors: {
  custom: {
    50: '#657f97',
    500: '#1f4e6e',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e6e;
$custom-light: #657f97;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e6e",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 110
  },
  "hsl": {
    "h": 204.304,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4072,
    "c": 0.07402,
    "h": 241.6
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#1F4E6E
secondary
#A26C47
accent
#8648DF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F4E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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