#1F5192#1F5192

#1F5192 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.120 H 256.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#1F5192
RGBrgb(31, 81, 146)
HSLhsl(214, 65%, 35%)
HSVhsv(214, 79%, 57%)
CMYKcmyk(78.8%, 44.5%, 0%, 42.7%)
CIE-LABlab(34.50, 7.61, -40.60)
CIE-LCHlch(34.50, 41.31, 280.62°)
OKLaboklab(43.74% -0.0281 -0.1163)
OKLCHoklch(43.74% 0.12 256.4)
XYZxyz(8.6939, 8.2505, 28.3229)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5192 #92601F
analogous
#1F8B92 #1F5192 #261F92
triadic
#1F5192 #921F51 #51921F
tetradic
#1F5192 #921F8B #92601F #1F9226
square
#1F5192 #921F8B #92601F #1F9226
split-complementary
#1F5192 #92261F #8B921F
monochromatic
#0A192D #143560 #1F5192 #2A6DC4 #518DDA

Accessibility & contrast

On white

7.92
#1F5192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1F5192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5192
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5192#FFFFFF#000000##FFFFFF
##1F51921.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305795
Deuteranopia (green-blind)
#1A4C91
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5192;
/* rgb */ color: rgb(31, 81, 146);
/* oklch */ color: oklch(43.7% 0.120 256.4);
Tailwind
colors: {
  custom: {
    50: '#6d81b2',
    500: '#1f5192',
    950: '#000000',
  },
}
SCSS
$custom: #1f5192;
$custom-light: #6d81b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5192",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 213.913,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43739,
    "c": 0.11963,
    "h": 256.4
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#1F5192
secondary
#BD8E50
accent
#9F40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5192

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

Preview Lab → · Contrast checker → · Palette generator →

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