#1F5183#1F5183

#1F5183 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.099 H 251.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#1F5183
RGBrgb(31, 81, 131)
HSLhsl(210, 62%, 32%)
HSVhsv(210, 76%, 51%)
CMYKcmyk(76.3%, 38.2%, 0%, 48.6%)
CIE-LABlab(33.59, 1.67, -32.87)
CIE-LCHlch(33.59, 32.91, 272.91°)
OKLaboklab(42.74% -0.0317 -0.0936)
OKLCHoklch(42.74% 0.099 251.3)
XYZxyz(7.6027, 7.8140, 22.5759)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5183 #83511F
analogous
#1F8383 #1F5183 #1F1F83
triadic
#1F5183 #831F51 #51831F
tetradic
#1F5183 #831F83 #83511F #1F831F
square
#1F5183 #831F83 #83511F #1F831F
split-complementary
#1F5183 #831F1F #83831F
monochromatic
#081420 #133252 #1F5183 #2B70B4 #498ED4

Accessibility & contrast

On white

8.19
#1F5183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1F5183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5183
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5183#FFFFFF#000000##FFFFFF
##1F51831.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5485
Deuteranopia (green-blind)
#2B4B82
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f5183;
/* rgb */ color: rgb(31, 81, 131);
/* oklch */ color: oklch(42.7% 0.099 251.3);
Tailwind
colors: {
  custom: {
    50: '#6981a7',
    500: '#1f5183',
    950: '#000000',
  },
}
SCSS
$custom: #1f5183;
$custom-light: #6981a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5183",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 131
  },
  "hsl": {
    "h": 210,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.09881,
    "h": 251.3
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

primary
#1F5183
secondary
#B67F48
accent
#9443E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5183

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

Preview Lab → · Contrast checker → · Palette generator →

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