#1F4663#1F4663

#1F4663 is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.0% C 0.067 H 243.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#1F4663
RGBrgb(31, 70, 99)
HSLhsl(206, 52%, 25%)
HSVhsv(206, 69%, 39%)
CMYKcmyk(68.7%, 29.3%, 0%, 61.2%)
CIE-LABlab(28.31, -3.55, -21.11)
CIE-LCHlch(28.31, 21.40, 260.46°)
OKLaboklab(38.01% -0.0298 -0.0594)
OKLCHoklch(38.01% 0.067 243.3)
XYZxyz(5.0065, 5.5720, 12.6136)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4663 #633C1F
analogous
#1F635E #1F4663 #1F2463
triadic
#1F4663 #631F46 #46631F
tetradic
#1F4663 #5E1F63 #633C1F #24631F
square
#1F4663 #5E1F63 #633C1F #24631F
split-complementary
#1F4663 #631F24 #635E1F
monochromatic
#071017 #102534 #1F4663 #2E6792 #3C88C0

Accessibility & contrast

On white

9.93
#1F4663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1F4663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4663
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4663#FFFFFF#000000##FFFFFF
##1F46631.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#304062
Tritanopia (blue-blind)
#004D50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f4663;
/* rgb */ color: rgb(31, 70, 99);
/* oklch */ color: oklch(38.0% 0.067 243.3);
Tailwind
colors: {
  custom: {
    50: '#63798f',
    500: '#1f4663',
    950: '#000000',
  },
}
SCSS
$custom: #1f4663;
$custom-light: #63798f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4663",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 99
  },
  "hsl": {
    "h": 205.588,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38013,
    "c": 0.06652,
    "h": 243.3
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#1F4663
secondary
#986946
accent
#894CDC
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06090C
muted
#7A7B7D

Preview Lab

Preview with #1F4663

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

Preview Lab → · Contrast checker → · Palette generator →

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