#1F598B#1F598B

#1F598B is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.101 H 248.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#1F598B
RGBrgb(31, 89, 139)
HSLhsl(208, 64%, 33%)
HSVhsv(208, 78%, 55%)
CMYKcmyk(77.7%, 36%, 0%, 45.5%)
CIE-LABlab(36.55, -0.36, -33.07)
CIE-LCHlch(36.55, 33.08, 269.37°)
OKLaboklab(45.21% -0.0373 -0.0941)
OKLCHoklch(45.21% 0.101 248.4)
XYZxyz(8.7959, 9.2991, 25.7524)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F598B #8B511F
analogous
#1F8B87 #1F598B #1F238B
triadic
#1F598B #8B1F59 #598B1F
tetradic
#1F598B #871F8B #8B511F #238B1F
square
#1F598B #871F8B #8B511F #238B1F
split-complementary
#1F598B #8B1F23 #8B871F
monochromatic
#091927 #143959 #1F598B #2A79BD #4D97D7

Accessibility & contrast

On white

7.34
#1F598B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#1F598B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F598B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F598B#FFFFFF#000000##FFFFFF
##1F598B1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8D
Deuteranopia (green-blind)
#32518A
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f598b;
/* rgb */ color: rgb(31, 89, 139);
/* oklch */ color: oklch(45.2% 0.101 248.4);
Tailwind
colors: {
  custom: {
    50: '#6b87ad',
    500: '#1f598b',
    950: '#000000',
  },
}
SCSS
$custom: #1f598b;
$custom-light: #6b87ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f598b",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 139
  },
  "hsl": {
    "h": 207.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45209,
    "c": 0.10119,
    "h": 248.4
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#1F598B
secondary
#BA7F4C
accent
#8E41E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F598B

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

Preview Lab → · Contrast checker → · Palette generator →

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