#1F5792#1F5792

#1F5792 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.2% C 0.113 H 252.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#1F5792
RGBrgb(31, 87, 146)
HSLhsl(211, 65%, 35%)
HSVhsv(211, 79%, 57%)
CMYKcmyk(78.8%, 40.4%, 0%, 42.7%)
CIE-LABlab(36.33, 3.67, -37.67)
CIE-LCHlch(36.33, 37.85, 275.56°)
OKLaboklab(45.17% -0.0335 -0.1076)
OKLCHoklch(45.17% 0.113 252.7)
XYZxyz(9.1596, 9.1819, 28.4781)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5792 #925A1F
analogous
#1F9092 #1F5792 #211F92
triadic
#1F5792 #921F57 #57921F
tetradic
#1F5792 #921F90 #925A1F #1F9221
square
#1F5792 #921F90 #925A1F #1F9221
split-complementary
#1F5792 #92211F #90921F
monochromatic
#0A1B2D #143960 #1F5792 #2A75C4 #5194DA

Accessibility & contrast

On white

7.40
#1F5792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1F5792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5792
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5792#FFFFFF#000000##FFFFFF
##1F57921.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B94
Deuteranopia (green-blind)
#285191
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5792;
/* rgb */ color: rgb(31, 87, 146);
/* oklch */ color: oklch(45.2% 0.113 252.7);
Tailwind
colors: {
  custom: {
    50: '#6d85b2',
    500: '#1f5792',
    950: '#000000',
  },
}
SCSS
$custom: #1f5792;
$custom-light: #6d85b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5792",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 146
  },
  "hsl": {
    "h": 210.783,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45165,
    "c": 0.11267,
    "h": 252.7
  },
  "luminance": 0.09183
}

Semantic roles & 50–950 ramp

primary
#1F5792
secondary
#BD8850
accent
#9640E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5792

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

Preview Lab → · Contrast checker → · Palette generator →

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