#1F4563#1F4563

#1F4563 is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.8% C 0.067 H 244.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#1F4563
RGBrgb(31, 69, 99)
HSLhsl(206, 52%, 25%)
HSVhsv(206, 69%, 39%)
CMYKcmyk(68.7%, 30.3%, 0%, 61.2%)
CIE-LABlab(27.97, -2.89, -21.63)
CIE-LCHlch(27.97, 21.82, 262.38°)
OKLaboklab(37.75% -0.0287 -0.061)
OKLCHoklch(37.75% 0.067 244.8)
XYZxyz(4.9445, 5.4479, 12.5929)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4563 #633D1F
analogous
#1F635F #1F4563 #1F2363
triadic
#1F4563 #631F45 #45631F
tetradic
#1F4563 #5F1F63 #633D1F #23631F
square
#1F4563 #5F1F63 #633D1F #23631F
split-complementary
#1F4563 #631F23 #635F1F
monochromatic
#071017 #102534 #1F4563 #2E6592 #3C86C0

Accessibility & contrast

On white

10.05
#1F4563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1F4563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4563
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4563#FFFFFF#000000##FFFFFF
##1F45631.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384664
Deuteranopia (green-blind)
#2E3F62
Tritanopia (blue-blind)
#004C4F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1f4563;
/* rgb */ color: rgb(31, 69, 99);
/* oklch */ color: oklch(37.8% 0.067 244.8);
Tailwind
colors: {
  custom: {
    50: '#63788f',
    500: '#1f4563',
    950: '#000000',
  },
}
SCSS
$custom: #1f4563;
$custom-light: #63788f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4563",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 99
  },
  "hsl": {
    "h": 206.471,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37751,
    "c": 0.06736,
    "h": 244.8
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#1F4563
secondary
#986A46
accent
#8B4CDC
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06090C
muted
#7A7B7D

Preview Lab

Preview with #1F4563

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

Preview Lab → · Contrast checker → · Palette generator →

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