#1F5683#1F5683

#1F5683 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.0% C 0.094 H 246.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#1F5683
RGBrgb(31, 86, 131)
HSLhsl(207, 62%, 32%)
HSVhsv(207, 76%, 51%)
CMYKcmyk(76.3%, 34.4%, 0%, 48.6%)
CIE-LABlab(35.17, -1.56, -30.37)
CIE-LCHlch(35.17, 30.41, 267.07°)
OKLaboklab(43.98% -0.0367 -0.0862)
OKLCHoklch(43.98% 0.094 246.9)
XYZxyz(7.9880, 8.5847, 22.7043)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5683 #834C1F
analogous
#1F837E #1F5683 #1F2483
triadic
#1F5683 #831F56 #56831F
tetradic
#1F5683 #7E1F83 #834C1F #24831F
square
#1F5683 #7E1F83 #834C1F #24831F
split-complementary
#1F5683 #831F24 #837E1F
monochromatic
#081520 #133652 #1F5683 #2B76B4 #4995D4

Accessibility & contrast

On white

7.73
#1F5683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1F5683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5683
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5683#FFFFFF#000000##FFFFFF
##1F56831.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415885
Deuteranopia (green-blind)
#334E82
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5683;
/* rgb */ color: rgb(31, 86, 131);
/* oklch */ color: oklch(44.0% 0.094 246.9);
Tailwind
colors: {
  custom: {
    50: '#6985a7',
    500: '#1f5683',
    950: '#000000',
  },
}
SCSS
$custom: #1f5683;
$custom-light: #6985a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5683",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 131
  },
  "hsl": {
    "h": 207,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43979,
    "c": 0.0937,
    "h": 246.9
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#1F5683
secondary
#B67948
accent
#8C43E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5683

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

Preview Lab → · Contrast checker → · Palette generator →

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