#1F5083#1F5083

#1F5083 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.100 H 252.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#1F5083
RGBrgb(31, 80, 131)
HSLhsl(211, 62%, 32%)
HSVhsv(211, 76%, 51%)
CMYKcmyk(76.3%, 38.9%, 0%, 48.6%)
CIE-LABlab(33.28, 2.33, -33.37)
CIE-LCHlch(33.28, 33.45, 273.99°)
OKLaboklab(42.49% -0.0307 -0.0951)
OKLCHoklch(42.49% 0.1 252.1)
XYZxyz(7.5289, 7.6665, 22.5513)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5083 #83521F
analogous
#1F8283 #1F5083 #201F83
triadic
#1F5083 #831F50 #50831F
tetradic
#1F5083 #831F82 #83521F #1F8320
square
#1F5083 #831F82 #83521F #1F8320
split-complementary
#1F5083 #83201F #82831F
monochromatic
#081420 #133252 #1F5083 #2B6EB4 #498DD4

Accessibility & contrast

On white

8.29
#1F5083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1F5083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5083
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5083#FFFFFF#000000##FFFFFF
##1F50831.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385385
Deuteranopia (green-blind)
#294A82
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f5083;
/* rgb */ color: rgb(31, 80, 131);
/* oklch */ color: oklch(42.5% 0.100 252.1);
Tailwind
colors: {
  custom: {
    50: '#6980a7',
    500: '#1f5083',
    950: '#000000',
  },
}
SCSS
$custom: #1f5083;
$custom-light: #6980a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5083",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 210.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42493,
    "c": 0.09991,
    "h": 252.1
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#1F5083
secondary
#B68048
accent
#9643E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5083

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

Preview Lab → · Contrast checker → · Palette generator →

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