#1F416D#1F416D

#1F416D is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.3% C 0.086 H 255.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#1F416D
RGBrgb(31, 65, 109)
HSLhsl(214, 56%, 27%)
HSVhsv(214, 72%, 43%)
CMYKcmyk(71.6%, 40.4%, 0%, 57.3%)
CIE-LABlab(27.23, 3.66, -29.19)
CIE-LCHlch(27.23, 29.42, 277.14°)
OKLaboklab(37.35% -0.021 -0.0831)
OKLCHoklch(37.35% 0.086 255.8)
XYZxyz(5.2147, 5.1755, 15.1892)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F416D #6D4B1F
analogous
#1F686D #1F416D #241F6D
triadic
#1F416D #6D1F41 #416D1F
tetradic
#1F416D #6D1F68 #6D4B1F #1F6D24
square
#1F416D #6D1F68 #6D4B1F #1F6D24
split-complementary
#1F416D #6D241F #686D1F
monochromatic
#070E18 #11253D #1F416D #2D5D9D #3E7AC8

Accessibility & contrast

On white

10.32
#1F416D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F416D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F416D#FFFFFF#000000##FFFFFF
##1F416D1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446F
Deuteranopia (green-blind)
#223D6C
Tritanopia (blue-blind)
#004B51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f416d;
/* rgb */ color: rgb(31, 65, 109);
/* oklch */ color: oklch(37.3% 0.086 255.8);
Tailwind
colors: {
  custom: {
    50: '#657597',
    500: '#1f416d',
    950: '#000000',
  },
}
SCSS
$custom: #1f416d;
$custom-light: #657597;
$custom-dark: #000000;
JSON
{
  "hex": "#1f416d",
  "rgb": {
    "r": 31,
    "g": 65,
    "b": 109
  },
  "hsl": {
    "h": 213.846,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37349,
    "c": 0.08569,
    "h": 255.8
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#1F416D
secondary
#A17A47
accent
#9E49DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #1F416D

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

Preview Lab → · Contrast checker → · Palette generator →

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