#1F5D7D#1F5D7D

#1F5D7D is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.4% C 0.081 H 235.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#1F5D7D
RGBrgb(31, 93, 125)
HSLhsl(200, 60%, 31%)
HSVhsv(200, 75%, 49%)
CMYKcmyk(75.2%, 25.6%, 0%, 51%)
CIE-LABlab(37.11, -8.19, -23.65)
CIE-LCHlch(37.11, 25.02, 250.90°)
OKLaboklab(45.42% -0.0461 -0.0666)
OKLCHoklch(45.42% 0.081 235.3)
XYZxyz(8.1796, 9.5997, 20.8199)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D7D #7D3F1F
analogous
#1F7D6E #1F5D7D #1F2E7D
triadic
#1F5D7D #7D1F5D #5D7D1F
tetradic
#1F5D7D #6E1F7D #7D3F1F #2E7D1F
square
#1F5D7D #6E1F7D #7D3F1F #2E7D1F
split-complementary
#1F5D7D #7D1F2E #7D6E1F
monochromatic
#07141B #13394C #1F5D7D #2B81AE #45A1D1

Accessibility & contrast

On white

7.19
#1F5D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#1F5D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D7D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D7D#FFFFFF#000000##FFFFFF
##1F5D7D1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7E
Deuteranopia (green-blind)
#41537C
Tritanopia (blue-blind)
#006568
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f5d7d;
/* rgb */ color: rgb(31, 93, 125);
/* oklch */ color: oklch(45.4% 0.081 235.3);
Tailwind
colors: {
  custom: {
    50: '#688aa2',
    500: '#1f5d7d',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d7d;
$custom-light: #688aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d7d",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 125
  },
  "hsl": {
    "h": 200.426,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.45417,
    "c": 0.08097,
    "h": 235.3
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#1F5D7D
secondary
#B06B48
accent
#7B44E3
background
#F6F8FA
surface
#EBF0F3
border
#C6CBCD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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