#1F5593#1F5593

#1F5593 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.8% C 0.116 H 254.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#1F5593
RGBrgb(31, 85, 147)
HSLhsl(212, 65%, 35%)
HSVhsv(212, 79%, 58%)
CMYKcmyk(78.9%, 42.2%, 0%, 42.4%)
CIE-LABlab(35.78, 5.37, -39.16)
CIE-LCHlch(35.78, 39.53, 277.81°)
OKLaboklab(44.75% -0.0314 -0.112)
OKLCHoklch(44.75% 0.116 254.3)
XYZxyz(9.0781, 8.8938, 28.8363)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5593 #935D1F
analogous
#1F8F93 #1F5593 #231F93
triadic
#1F5593 #931F55 #55931F
tetradic
#1F5593 #931F8F #935D1F #1F9323
square
#1F5593 #931F8F #935D1F #1F9323
split-complementary
#1F5593 #93231F #8F931F
monochromatic
#0A1B2E #143860 #1F5593 #2A72C6 #5291DA

Accessibility & contrast

On white

7.56
#1F5593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#1F5593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5593
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5593#FFFFFF#000000##FFFFFF
##1F55931.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A95
Deuteranopia (green-blind)
#234F92
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f5593;
/* rgb */ color: rgb(31, 85, 147);
/* oklch */ color: oklch(44.8% 0.116 254.3);
Tailwind
colors: {
  custom: {
    50: '#6d84b3',
    500: '#1f5593',
    950: '#000000',
  },
}
SCSS
$custom: #1f5593;
$custom-light: #6d84b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5593",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 147
  },
  "hsl": {
    "h": 212.069,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44754,
    "c": 0.11631,
    "h": 254.3
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#1F5593
secondary
#BE8B50
accent
#9A40E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5593

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

Preview Lab → · Contrast checker → · Palette generator →

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