#1F5992#1F5992

#1F5992 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.6% C 0.110 H 251.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#1F5992
RGBrgb(31, 89, 146)
HSLhsl(210, 65%, 35%)
HSVhsv(210, 79%, 57%)
CMYKcmyk(78.8%, 39%, 0%, 42.7%)
CIE-LABlab(36.95, 2.37, -36.69)
CIE-LCHlch(36.95, 36.77, 273.70°)
OKLaboklab(45.65% -0.0354 -0.1047)
OKLCHoklch(45.65% 0.11 251.3)
XYZxyz(9.3238, 9.5103, 28.5328)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5992 #92581F
analogous
#1F9292 #1F5992 #1F2092
triadic
#1F5992 #921F59 #59921F
tetradic
#1F5992 #921F92 #92581F #20921F
square
#1F5992 #921F92 #92581F #20921F
split-complementary
#1F5992 #921F20 #92921F
monochromatic
#0A1B2D #143A60 #1F5992 #2A78C4 #5196DA

Accessibility & contrast

On white

7.24
#1F5992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1F5992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5992
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5992#FFFFFF#000000##FFFFFF
##1F59921.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D94
Deuteranopia (green-blind)
#2C5291
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f5992;
/* rgb */ color: rgb(31, 89, 146);
/* oklch */ color: oklch(45.6% 0.110 251.3);
Tailwind
colors: {
  custom: {
    50: '#6d87b2',
    500: '#1f5992',
    950: '#000000',
  },
}
SCSS
$custom: #1f5992;
$custom-light: #6d87b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5992",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 209.739,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.11048,
    "h": 251.3
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#1F5992
secondary
#BD8650
accent
#9340E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5992

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

Preview Lab → · Contrast checker → · Palette generator →

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