#1F598A#1F598A

#1F598A is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.1% C 0.100 H 247.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#1F598A
RGBrgb(31, 89, 138)
HSLhsl(207, 63%, 33%)
HSVhsv(207, 78%, 54%)
CMYKcmyk(77.5%, 35.5%, 0%, 45.9%)
CIE-LABlab(36.50, -0.75, -32.55)
CIE-LCHlch(36.50, 32.56, 268.67°)
OKLaboklab(45.15% -0.0376 -0.0925)
OKLCHoklch(45.15% 0.1 247.9)
XYZxyz(8.7231, 9.2700, 25.3694)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F598A #8A501F
analogous
#1F8A85 #1F598A #1F238A
triadic
#1F598A #8A1F59 #598A1F
tetradic
#1F598A #851F8A #8A501F #238A1F
square
#1F598A #851F8A #8A501F #238A1F
split-complementary
#1F598A #8A1F23 #8A851F
monochromatic
#091926 #143958 #1F598A #2A79BC #4C98D7

Accessibility & contrast

On white

7.36
#1F598A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1F598A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F598A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F598A#FFFFFF#000000##FFFFFF
##1F598A1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#335189
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f598a;
/* rgb */ color: rgb(31, 89, 138);
/* oklch */ color: oklch(45.1% 0.100 247.9);
Tailwind
colors: {
  custom: {
    50: '#6b87ac',
    500: '#1f598a',
    950: '#000000',
  },
}
SCSS
$custom: #1f598a;
$custom-light: #6b87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f598a",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 138
  },
  "hsl": {
    "h": 207.477,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.09989,
    "h": 247.9
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#1F598A
secondary
#BA7E4B
accent
#8D41E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F598A

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

Preview Lab → · Contrast checker → · Palette generator →

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