#1F5E97#1F5E97

#1F5E97 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.2% C 0.112 H 249.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#1F5E97
RGBrgb(31, 94, 151)
HSLhsl(209, 66%, 36%)
HSVhsv(209, 79%, 59%)
CMYKcmyk(79.5%, 37.7%, 0%, 40.8%)
CIE-LABlab(38.78, 1.12, -36.80)
CIE-LCHlch(38.78, 36.82, 271.74°)
OKLaboklab(47.17% -0.0387 -0.1049)
OKLCHoklch(47.17% 0.112 249.7)
XYZxyz(10.1516, 10.5299, 30.7696)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E97 #97581F
analogous
#1F9794 #1F5E97 #1F2297
triadic
#1F5E97 #971F5E #5E971F
tetradic
#1F5E97 #941F97 #97581F #22971F
square
#1F5E97 #941F97 #97581F #22971F
split-complementary
#1F5E97 #971F22 #97941F
monochromatic
#0A1F31 #153E64 #1F5E97 #297ECA #549CDC

Accessibility & contrast

On white

6.76
#1F5E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F5E97
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E97#FFFFFF#000000##FFFFFF
##1F5E971.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#315696
Tritanopia (blue-blind)
#006C73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f5e97;
/* rgb */ color: rgb(31, 94, 151);
/* oklch */ color: oklch(47.2% 0.112 249.7);
Tailwind
colors: {
  custom: {
    50: '#6e8bb6',
    500: '#1f5e97',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e97;
$custom-light: #6e8bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e97",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 208.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47172,
    "c": 0.11181,
    "h": 249.7
  },
  "luminance": 0.10531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F5E97

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

Preview Lab → · Contrast checker → · Palette generator →

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