#1F5893#1F5893

#1F5893 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.5% C 0.113 H 252.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#1F5893
RGBrgb(31, 88, 147)
HSLhsl(211, 65%, 35%)
HSVhsv(211, 79%, 58%)
CMYKcmyk(78.9%, 40.1%, 0%, 42.4%)
CIE-LABlab(36.70, 3.41, -37.70)
CIE-LCHlch(36.70, 37.85, 275.17°)
OKLaboklab(45.47% -0.0342 -0.1076)
OKLCHoklch(45.47% 0.113 252.4)
XYZxyz(9.3193, 9.3762, 28.9167)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5893 #935A1F
analogous
#1F9293 #1F5893 #201F93
triadic
#1F5893 #931F58 #58931F
tetradic
#1F5893 #931F92 #935A1F #1F9320
square
#1F5893 #931F92 #935A1F #1F9320
split-complementary
#1F5893 #93201F #92931F
monochromatic
#0A1B2E #143A60 #1F5893 #2A76C6 #5295DA

Accessibility & contrast

On white

7.30
#1F5893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#1F5893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5893
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5893#FFFFFF#000000##FFFFFF
##1F58931.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5C95
Deuteranopia (green-blind)
#295192
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5893;
/* rgb */ color: rgb(31, 88, 147);
/* oklch */ color: oklch(45.5% 0.113 252.4);
Tailwind
colors: {
  custom: {
    50: '#6d86b3',
    500: '#1f5893',
    950: '#000000',
  },
}
SCSS
$custom: #1f5893;
$custom-light: #6d86b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5893",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 147
  },
  "hsl": {
    "h": 210.517,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45471,
    "c": 0.11292,
    "h": 252.4
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#1F5893
secondary
#BE8850
accent
#9540E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5893

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

Preview Lab → · Contrast checker → · Palette generator →

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