#1F5196#1F5196

#1F5196 is a dark, vivid cyan. Relative luminance 0.084; OKLCH L 44.0% C 0.125 H 257.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#1F5196
RGBrgb(31, 81, 150)
HSLhsl(215, 66%, 35%)
HSVhsv(215, 79%, 59%)
CMYKcmyk(79.3%, 46%, 0%, 41.2%)
CIE-LABlab(34.76, 9.21, -42.62)
CIE-LCHlch(34.76, 43.60, 282.19°)
OKLaboklab(44.02% -0.0272 -0.1222)
OKLCHoklch(44.02% 0.125 257.4)
XYZxyz(9.0105, 8.3771, 29.9903)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5196 #96641F
analogous
#1F8C96 #1F5196 #281F96
triadic
#1F5196 #961F51 #51961F
tetradic
#1F5196 #961F8C #96641F #1F9628
square
#1F5196 #961F8C #96641F #1F9628
split-complementary
#1F5196 #96281F #8C961F
monochromatic
#0A1A31 #153663 #1F5196 #296CC9 #548DDC

Accessibility & contrast

On white

7.85
#1F5196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5196
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5196#FFFFFF#000000##FFFFFF
##1F51961.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5899
Deuteranopia (green-blind)
#134D95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5196;
/* rgb */ color: rgb(31, 81, 150);
/* oklch */ color: oklch(44.0% 0.125 257.4);
Tailwind
colors: {
  custom: {
    50: '#6e81b5',
    500: '#1f5196',
    950: '#000000',
  },
}
SCSS
$custom: #1f5196;
$custom-light: #6e81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5196",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 214.79,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44021,
    "c": 0.12521,
    "h": 257.4
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#1F5196
secondary
#BF9152
accent
#A13FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5196

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

Preview Lab → · Contrast checker → · Palette generator →

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