#1F5296#1F5296

#1F5296 is a dark, vivid cyan. Relative luminance 0.085; OKLCH L 44.3% C 0.124 H 256.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#1F5296
RGBrgb(31, 82, 150)
HSLhsl(214, 66%, 35%)
HSVhsv(214, 79%, 59%)
CMYKcmyk(79.3%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.06, 8.54, -42.14)
CIE-LCHlch(35.06, 42.99, 281.46°)
OKLaboklab(44.25% -0.0281 -0.1208)
OKLCHoklch(44.25% 0.124 256.9)
XYZxyz(9.0854, 8.5268, 30.0153)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5296 #96631F
analogous
#1F8D96 #1F5296 #281F96
triadic
#1F5296 #961F52 #52961F
tetradic
#1F5296 #961F8D #96631F #1F9628
square
#1F5296 #961F8D #96631F #1F9628
split-complementary
#1F5296 #96281F #8D961F
monochromatic
#0A1B31 #153663 #1F5296 #296EC9 #548EDC

Accessibility & contrast

On white

7.76
#1F5296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#1F5296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5296
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5296#FFFFFF#000000##FFFFFF
##1F52961.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5899
Deuteranopia (green-blind)
#164D95
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5296;
/* rgb */ color: rgb(31, 82, 150);
/* oklch */ color: oklch(44.3% 0.124 256.9);
Tailwind
colors: {
  custom: {
    50: '#6e82b5',
    500: '#1f5296',
    950: '#000000',
  },
}
SCSS
$custom: #1f5296;
$custom-light: #6e82b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5296",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 214.286,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.124,
    "h": 256.9
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#1F5296
secondary
#BF9052
accent
#A03FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5296

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

Preview Lab → · Contrast checker → · Palette generator →

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