#1F5D7E#1F5D7E

#1F5D7E is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.5% C 0.082 H 236.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#1F5D7E
RGBrgb(31, 93, 126)
HSLhsl(201, 61%, 31%)
HSVhsv(201, 75%, 49%)
CMYKcmyk(75.4%, 26.2%, 0%, 50.6%)
CIE-LABlab(37.16, -7.82, -24.18)
CIE-LCHlch(37.16, 25.42, 252.09°)
OKLaboklab(45.47% -0.0457 -0.0681)
OKLCHoklch(45.47% 0.082 236.1)
XYZxyz(8.2438, 9.6254, 21.1580)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D7E #7E401F
analogous
#1F7E6F #1F5D7E #1F2D7E
triadic
#1F5D7E #7E1F5D #5D7E1F
tetradic
#1F5D7E #6F1F7E #7E401F #2D7E1F
square
#1F5D7E #6F1F7E #7E401F #2D7E1F
split-complementary
#1F5D7E #7E1F2D #7E6F1F
monochromatic
#07141C #13394D #1F5D7E #2B81AF #46A1D1

Accessibility & contrast

On white

7.18
#1F5D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#1F5D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D7E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D7E#FFFFFF#000000##FFFFFF
##1F5D7E1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D80
Deuteranopia (green-blind)
#40537D
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f5d7e;
/* rgb */ color: rgb(31, 93, 126);
/* oklch */ color: oklch(45.5% 0.082 236.1);
Tailwind
colors: {
  custom: {
    50: '#698aa3',
    500: '#1f5d7e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d7e;
$custom-light: #698aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d7e",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 126
  },
  "hsl": {
    "h": 200.842,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.45471,
    "c": 0.08205,
    "h": 236.1
  },
  "luminance": 0.09626
}

Semantic roles & 50–950 ramp

primary
#1F5D7E
secondary
#B16C48
accent
#7C44E4
background
#F6F8FA
surface
#EBF0F4
border
#C6CBCE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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