#1F5896#1F5896

#1F5896 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.7% C 0.117 H 253.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#1F5896
RGBrgb(31, 88, 150)
HSLhsl(211, 66%, 35%)
HSVhsv(211, 79%, 59%)
CMYKcmyk(79.3%, 41.3%, 0%, 41.2%)
CIE-LABlab(36.88, 4.59, -39.22)
CIE-LCHlch(36.88, 39.49, 276.68°)
OKLaboklab(45.67% -0.0334 -0.1121)
OKLCHoklch(45.67% 0.117 253.4)
XYZxyz(9.5578, 9.4716, 30.1727)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5896 #965D1F
analogous
#1F9396 #1F5896 #221F96
triadic
#1F5896 #961F58 #58961F
tetradic
#1F5896 #961F93 #965D1F #1F9622
square
#1F5896 #961F93 #965D1F #1F9622
split-complementary
#1F5896 #96221F #93961F
monochromatic
#0A1C31 #153A63 #1F5896 #2976C9 #5495DC

Accessibility & contrast

On white

7.25
#1F5896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1F5896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5896
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5896#FFFFFF#000000##FFFFFF
##1F58961.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D98
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#00676F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f5896;
/* rgb */ color: rgb(31, 88, 150);
/* oklch */ color: oklch(45.7% 0.117 253.4);
Tailwind
colors: {
  custom: {
    50: '#6d86b5',
    500: '#1f5896',
    950: '#000000',
  },
}
SCSS
$custom: #1f5896;
$custom-light: #6d86b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5896",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 150
  },
  "hsl": {
    "h": 211.261,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45667,
    "c": 0.11698,
    "h": 253.4
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

primary
#1F5896
secondary
#BF8B52
accent
#973FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5896

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

Preview Lab → · Contrast checker → · Palette generator →

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