#1F5688#1F5688

#1F5688 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.3% C 0.100 H 249.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#1F5688
RGBrgb(31, 86, 136)
HSLhsl(209, 63%, 33%)
HSVhsv(209, 77%, 53%)
CMYKcmyk(77.2%, 36.8%, 0%, 46.7%)
CIE-LABlab(35.45, 0.39, -33.00)
CIE-LCHlch(35.45, 33.00, 270.67°)
OKLaboklab(44.29% -0.0352 -0.0939)
OKLCHoklch(44.29% 0.1 249.4)
XYZxyz(8.3351, 8.7235, 24.5323)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5688 #88511F
analogous
#1F8885 #1F5688 #1F2288
triadic
#1F5688 #881F56 #56881F
tetradic
#1F5688 #851F88 #88511F #22881F
square
#1F5688 #851F88 #88511F #22881F
split-complementary
#1F5688 #881F22 #88851F
monochromatic
#081724 #143656 #1F5688 #2A76BA #4B94D6

Accessibility & contrast

On white

7.65
#1F5688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1F5688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5688
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5688#FFFFFF#000000##FFFFFF
##1F56881.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598A
Deuteranopia (green-blind)
#304F87
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5688;
/* rgb */ color: rgb(31, 86, 136);
/* oklch */ color: oklch(44.3% 0.100 249.4);
Tailwind
colors: {
  custom: {
    50: '#6a85ab',
    500: '#1f5688',
    950: '#000000',
  },
}
SCSS
$custom: #1f5688;
$custom-light: #6a85ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5688",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 136
  },
  "hsl": {
    "h": 208.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44285,
    "c": 0.10029,
    "h": 249.4
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#1F5688
secondary
#B97F4A
accent
#9042E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5688

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

Preview Lab → · Contrast checker → · Palette generator →

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