#1F588B#1F588B

#1F588B is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 45.0% C 0.102 H 249.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#1F588B
RGBrgb(31, 88, 139)
HSLhsl(208, 64%, 33%)
HSVhsv(208, 78%, 55%)
CMYKcmyk(77.7%, 36.7%, 0%, 45.5%)
CIE-LABlab(36.24, 0.27, -33.57)
CIE-LCHlch(36.24, 33.57, 270.47°)
OKLaboklab(44.96% -0.0363 -0.0955)
OKLCHoklch(44.96% 0.102 249.2)
XYZxyz(8.7132, 9.1338, 25.7249)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F588B #8B521F
analogous
#1F8B88 #1F588B #1F228B
triadic
#1F588B #8B1F58 #588B1F
tetradic
#1F588B #881F8B #8B521F #228B1F
square
#1F588B #881F8B #8B521F #228B1F
split-complementary
#1F588B #8B1F22 #8B881F
monochromatic
#091927 #143859 #1F588B #2A78BD #4D96D7

Accessibility & contrast

On white

7.43
#1F588B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1F588B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F588B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F588B#FFFFFF#000000##FFFFFF
##1F588B1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8D
Deuteranopia (green-blind)
#31518A
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f588b;
/* rgb */ color: rgb(31, 88, 139);
/* oklch */ color: oklch(45.0% 0.102 249.2);
Tailwind
colors: {
  custom: {
    50: '#6b86ad',
    500: '#1f588b',
    950: '#000000',
  },
}
SCSS
$custom: #1f588b;
$custom-light: #6b86ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f588b",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 139
  },
  "hsl": {
    "h": 208.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44963,
    "c": 0.10221,
    "h": 249.2
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#1F588B
secondary
#BA804C
accent
#8F41E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F588B

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

Preview Lab → · Contrast checker → · Palette generator →

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