#1F4062#1F4062

#1F4062 is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.4% C 0.071 H 251.0°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#1F4062
RGBrgb(31, 64, 98)
HSLhsl(210, 52%, 25%)
HSVhsv(210, 68%, 38%)
CMYKcmyk(68.4%, 34.7%, 0%, 61.6%)
CIE-LABlab(26.27, 0.03, -23.65)
CIE-LCHlch(26.27, 23.65, 270.08°)
OKLaboklab(36.39% -0.0231 -0.0669)
OKLCHoklch(36.39% 0.071 251)
XYZxyz(4.6023, 4.8395, 12.2445)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4062 #62411F
analogous
#1F6162 #1F4062 #201F62
triadic
#1F4062 #621F40 #40621F
tetradic
#1F4062 #621F61 #62411F #1F6220
square
#1F4062 #621F61 #62411F #1F6220
split-complementary
#1F4062 #62201F #61621F
monochromatic
#070F17 #102234 #1F4062 #2E5E90 #3C7DBF

Accessibility & contrast

On white

10.67
#1F4062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1F4062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4062
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4062#FFFFFF#000000##FFFFFF
##1F40621.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314263
Deuteranopia (green-blind)
#283B61
Tritanopia (blue-blind)
#00484C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1f4062;
/* rgb */ color: rgb(31, 64, 98);
/* oklch */ color: oklch(36.4% 0.071 251.0);
Tailwind
colors: {
  custom: {
    50: '#62748f',
    500: '#1f4062',
    950: '#000000',
  },
}
SCSS
$custom: #1f4062;
$custom-light: #62748f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4062",
  "rgb": {
    "r": 31,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 210.448,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36394,
    "c": 0.07077,
    "h": 251
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#1F4062
secondary
#976F46
accent
#954CDB
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05080C
muted
#7A7B7D

Preview Lab

Preview with #1F4062

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

Preview Lab → · Contrast checker → · Palette generator →

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