#1F465F#1F465F

#1F465F is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 37.8% C 0.062 H 239.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#1F465F
RGBrgb(31, 70, 95)
HSLhsl(203, 51%, 25%)
HSVhsv(203, 67%, 37%)
CMYKcmyk(67.4%, 26.3%, 0%, 62.7%)
CIE-LABlab(28.11, -5.05, -18.85)
CIE-LCHlch(28.11, 19.51, 255.01°)
OKLaboklab(37.79% -0.0313 -0.0529)
OKLCHoklch(37.79% 0.062 239.4)
XYZxyz(4.8200, 5.4974, 11.6313)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F465F #5F381F
analogous
#1F5F58 #1F465F #1F265F
triadic
#1F465F #5F1F46 #465F1F
tetradic
#1F465F #581F5F #5F381F #265F1F
square
#1F465F #581F5F #5F381F #265F1F
split-complementary
#1F465F #5F1F26 #5F581F
monochromatic
#081117 #102431 #1F465F #2E688D #3D8ABB

Accessibility & contrast

On white

10.00
#1F465F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1F465F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F465F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F465F#FFFFFF#000000##FFFFFF
##1F465F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4660
Deuteranopia (green-blind)
#323F5F
Tritanopia (blue-blind)
#004C4F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1f465f;
/* rgb */ color: rgb(31, 70, 95);
/* oklch */ color: oklch(37.8% 0.062 239.4);
Tailwind
colors: {
  custom: {
    50: '#62798c',
    500: '#1f465f',
    950: '#000000',
  },
}
SCSS
$custom: #1f465f;
$custom-light: #62798c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f465f",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 95
  },
  "hsl": {
    "h": 203.438,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3779,
    "c": 0.06151,
    "h": 239.4
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#1F465F
secondary
#946446
accent
#854EDA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05090C
muted
#7A7B7D

Preview Lab

Preview with #1F465F

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

Preview Lab → · Contrast checker → · Palette generator →

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