#1F466F#1F466F

#1F466F is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.7% C 0.083 H 251.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#1F466F
RGBrgb(31, 70, 111)
HSLhsl(211, 56%, 28%)
HSVhsv(211, 72%, 44%)
CMYKcmyk(72.1%, 36.9%, 0%, 56.5%)
CIE-LABlab(28.95, 1.08, -27.74)
CIE-LCHlch(28.95, 27.76, 272.23°)
OKLaboklab(38.73% -0.0259 -0.0787)
OKLCHoklch(38.73% 0.083 251.8)
XYZxyz(5.6234, 5.8187, 15.8626)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F466F #6F481F
analogous
#1F6E6F #1F466F #201F6F
triadic
#1F466F #6F1F46 #466F1F
tetradic
#1F466F #6F1F6E #6F481F #1F6F20
square
#1F466F #6F1F6E #6F481F #1F6F20
split-complementary
#1F466F #6F201F #6E6F1F
monochromatic
#070F18 #12283F #1F466F #2C649F #3F82C9

Accessibility & contrast

On white

9.71
#1F466F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1F466F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F466F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F466F#FFFFFF#000000##FFFFFF
##1F466F1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344871
Deuteranopia (green-blind)
#28416E
Tritanopia (blue-blind)
#005055
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f466f;
/* rgb */ color: rgb(31, 70, 111);
/* oklch */ color: oklch(38.7% 0.083 251.8);
Tailwind
colors: {
  custom: {
    50: '#657998',
    500: '#1f466f',
    950: '#000000',
  },
}
SCSS
$custom: #1f466f;
$custom-light: #657998;
$custom-dark: #000000;
JSON
{
  "hex": "#1f466f",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 111
  },
  "hsl": {
    "h": 210.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38731,
    "c": 0.0829,
    "h": 251.8
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#1F466F
secondary
#A37647
accent
#9648E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #1F466F

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

Preview Lab → · Contrast checker → · Palette generator →

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