#1F599D#1F599D

#1F599D is a mid, vivid cyan. Relative luminance 0.099; OKLCH L 46.4% C 0.125 H 254.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#1F599D
RGBrgb(31, 89, 157)
HSLhsl(212, 67%, 37%)
HSVhsv(212, 80%, 62%)
CMYKcmyk(80.3%, 43.3%, 0%, 38.4%)
CIE-LABlab(37.61, 6.71, -42.27)
CIE-LCHlch(37.61, 42.80, 279.01°)
OKLaboklab(46.37% -0.0327 -0.121)
OKLCHoklch(46.37% 0.125 254.9)
XYZxyz(10.2210, 9.8692, 33.2580)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F599D #9D631F
analogous
#1F989D #1F599D #241F9D
triadic
#1F599D #9D1F59 #599D1F
tetradic
#1F599D #9D1F98 #9D631F #1F9D24
square
#1F599D #9D1F98 #9D631F #1F9D24
split-complementary
#1F599D #9D241F #989D1F
monochromatic
#0B1F37 #153C6A #1F599D #2976D0 #5896DE

Accessibility & contrast

On white

7.06
#1F599D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#1F599D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F599D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F599D#FFFFFF#000000##FFFFFF
##1F599D1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#20539C
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f599d;
/* rgb */ color: rgb(31, 89, 157);
/* oklch */ color: oklch(46.4% 0.125 254.9);
Tailwind
colors: {
  custom: {
    50: '#6f87ba',
    500: '#1f599d',
    950: '#000000',
  },
}
SCSS
$custom: #1f599d;
$custom-light: #6f87ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f599d",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 212.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46373,
    "c": 0.12537,
    "h": 254.9
  },
  "luminance": 0.0987
}

Semantic roles & 50–950 ramp

primary
#1F599D
secondary
#C29056
accent
#9B3EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B12
muted
#7B7C81

Preview Lab

Preview with #1F599D

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

Preview Lab → · Contrast checker → · Palette generator →

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