#1F5E98#1F5E98

#1F5E98 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.2% C 0.113 H 250.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#1F5E98
RGBrgb(31, 94, 152)
HSLhsl(209, 66%, 36%)
HSVhsv(209, 80%, 60%)
CMYKcmyk(79.6%, 38.2%, 0%, 40.4%)
CIE-LABlab(38.83, 1.51, -37.31)
CIE-LCHlch(38.83, 37.34, 272.32°)
OKLaboklab(47.24% -0.0384 -0.1064)
OKLCHoklch(47.24% 0.113 250.1)
XYZxyz(10.2331, 10.5625, 31.1991)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E98 #98591F
analogous
#1F9895 #1F5E98 #1F2298
triadic
#1F5E98 #981F5E #5E981F
tetradic
#1F5E98 #951F98 #98591F #22981F
square
#1F5E98 #951F98 #98591F #22981F
split-complementary
#1F5E98 #981F22 #98951F
monochromatic
#0A1F32 #153F65 #1F5E98 #297DCB #559BDC

Accessibility & contrast

On white

6.75
#1F5E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#1F5E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5E98
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E98#FFFFFF#000000##FFFFFF
##1F5E981.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43619A
Deuteranopia (green-blind)
#305697
Tritanopia (blue-blind)
#006C73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f5e98;
/* rgb */ color: rgb(31, 94, 152);
/* oklch */ color: oklch(47.2% 0.113 250.1);
Tailwind
colors: {
  custom: {
    50: '#6e8bb6',
    500: '#1f5e98',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e98;
$custom-light: #6e8bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e98",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 152
  },
  "hsl": {
    "h": 208.76,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47235,
    "c": 0.11311,
    "h": 250.1
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#1F5E98
secondary
#C08753
accent
#903FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5E98

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

Preview Lab → · Contrast checker → · Palette generator →

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