#1F5892#1F5892

#1F5892 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.112 H 252.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#1F5892
RGBrgb(31, 88, 146)
HSLhsl(210, 65%, 35%)
HSVhsv(210, 79%, 57%)
CMYKcmyk(78.8%, 39.7%, 0%, 42.7%)
CIE-LABlab(36.64, 3.02, -37.18)
CIE-LCHlch(36.64, 37.31, 274.64°)
OKLaboklab(45.41% -0.0344 -0.1061)
OKLCHoklch(45.41% 0.112 252)
XYZxyz(9.2412, 9.3450, 28.5053)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5892 #92591F
analogous
#1F9292 #1F5892 #201F92
triadic
#1F5892 #921F58 #58921F
tetradic
#1F5892 #921F92 #92591F #1F9220
square
#1F5892 #921F92 #92591F #1F9220
split-complementary
#1F5892 #92201F #92921F
monochromatic
#0A1B2D #143A60 #1F5892 #2A76C4 #5195DA

Accessibility & contrast

On white

7.32
#1F5892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#1F5892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5892
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5892#FFFFFF#000000##FFFFFF
##1F58921.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5C94
Deuteranopia (green-blind)
#2A5191
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5892;
/* rgb */ color: rgb(31, 88, 146);
/* oklch */ color: oklch(45.4% 0.112 252.0);
Tailwind
colors: {
  custom: {
    50: '#6d86b2',
    500: '#1f5892',
    950: '#000000',
  },
}
SCSS
$custom: #1f5892;
$custom-light: #6d86b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5892",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 146
  },
  "hsl": {
    "h": 210.261,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.11157,
    "h": 252
  },
  "luminance": 0.09346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F5892

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

Preview Lab → · Contrast checker → · Palette generator →

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