#1F5292#1F5292

#1F5292 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 44.0% C 0.118 H 255.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#1F5292
RGBrgb(31, 82, 146)
HSLhsl(213, 65%, 35%)
HSVhsv(213, 79%, 57%)
CMYKcmyk(78.8%, 43.8%, 0%, 42.7%)
CIE-LABlab(34.80, 6.95, -40.12)
CIE-LCHlch(34.80, 40.71, 279.83°)
OKLaboklab(43.97% -0.0289 -0.1148)
OKLCHoklch(43.97% 0.118 255.9)
XYZxyz(8.7688, 8.4002, 28.3478)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5292 #925F1F
analogous
#1F8C92 #1F5292 #251F92
triadic
#1F5292 #921F52 #52921F
tetradic
#1F5292 #921F8C #925F1F #1F9225
square
#1F5292 #921F8C #925F1F #1F9225
split-complementary
#1F5292 #92251F #8C921F
monochromatic
#0A192D #143660 #1F5292 #2A6EC4 #518EDA

Accessibility & contrast

On white

7.84
#1F5292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1F5292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5292
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5292#FFFFFF#000000##FFFFFF
##1F52921.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325794
Deuteranopia (green-blind)
#1D4D91
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5292;
/* rgb */ color: rgb(31, 82, 146);
/* oklch */ color: oklch(44.0% 0.118 255.9);
Tailwind
colors: {
  custom: {
    50: '#6d82b2',
    500: '#1f5292',
    950: '#000000',
  },
}
SCSS
$custom: #1f5292;
$custom-light: #6d82b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5292",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 146
  },
  "hsl": {
    "h": 213.391,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43975,
    "c": 0.11843,
    "h": 255.9
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#1F5292
secondary
#BD8D50
accent
#9D40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5292

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

Preview Lab → · Contrast checker → · Palette generator →

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