#1F416F#1F416F

#1F416F is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.5% C 0.089 H 256.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#1F416F
RGBrgb(31, 65, 111)
HSLhsl(215, 56%, 28%)
HSVhsv(215, 72%, 44%)
CMYKcmyk(72.1%, 41.4%, 0%, 56.5%)
CIE-LABlab(27.35, 4.45, -30.27)
CIE-LCHlch(27.35, 30.60, 278.37°)
OKLaboklab(37.48% -0.0205 -0.0862)
OKLCHoklch(37.48% 0.089 256.6)
XYZxyz(5.3236, 5.2190, 15.7627)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F416F #6F4D1F
analogous
#1F696F #1F416F #251F6F
triadic
#1F416F #6F1F41 #416F1F
tetradic
#1F416F #6F1F69 #6F4D1F #1F6F25
square
#1F416F #6F1F69 #6F4D1F #1F6F25
split-complementary
#1F416F #6F251F #696F1F
monochromatic
#070E18 #12253F #1F416F #2C5D9F #3F7AC9

Accessibility & contrast

On white

10.27
#1F416F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F416F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F416F#FFFFFF#000000##FFFFFF
##1F416F1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#203D6E
Tritanopia (blue-blind)
#004C52
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f416f;
/* rgb */ color: rgb(31, 65, 111);
/* oklch */ color: oklch(37.5% 0.089 256.6);
Tailwind
colors: {
  custom: {
    50: '#657598',
    500: '#1f416f',
    950: '#000000',
  },
}
SCSS
$custom: #1f416f;
$custom-light: #657598;
$custom-dark: #000000;
JSON
{
  "hex": "#1f416f",
  "rgb": {
    "r": 31,
    "g": 65,
    "b": 111
  },
  "hsl": {
    "h": 214.5,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37482,
    "c": 0.08865,
    "h": 256.6
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#1F416F
secondary
#A37C47
accent
#9F48E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1F416F

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

Preview Lab → · Contrast checker → · Palette generator →

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