#1F5B98#1F5B98

#1F5B98 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.5% C 0.116 H 252.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#1F5B98
RGBrgb(31, 91, 152)
HSLhsl(210, 66%, 36%)
HSVhsv(210, 80%, 60%)
CMYKcmyk(79.6%, 40.1%, 0%, 40.4%)
CIE-LABlab(37.91, 3.44, -38.78)
CIE-LCHlch(37.91, 38.93, 275.06°)
OKLaboklab(46.51% -0.0357 -0.1107)
OKLCHoklch(46.51% 0.116 252.1)
XYZxyz(9.9715, 10.0393, 31.1119)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B98 #985C1F
analogous
#1F9798 #1F5B98 #201F98
triadic
#1F5B98 #981F5B #5B981F
tetradic
#1F5B98 #981F97 #985C1F #1F9820
square
#1F5B98 #981F97 #985C1F #1F9820
split-complementary
#1F5B98 #98201F #97981F
monochromatic
#0A1E32 #153D65 #1F5B98 #2979CB #5598DC

Accessibility & contrast

On white

6.98
#1F5B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1F5B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5B98
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B98#FFFFFF#000000##FFFFFF
##1F5B981.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F9A
Deuteranopia (green-blind)
#2A5497
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5b98;
/* rgb */ color: rgb(31, 91, 152);
/* oklch */ color: oklch(46.5% 0.116 252.1);
Tailwind
colors: {
  custom: {
    50: '#6e89b7',
    500: '#1f5b98',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b98;
$custom-light: #6e89b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b98",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 152
  },
  "hsl": {
    "h": 210.248,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46514,
    "c": 0.11634,
    "h": 252.1
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#1F5B98
secondary
#C08A53
accent
#953FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5B98

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

Preview Lab → · Contrast checker → · Palette generator →

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