#1F5B7D#1F5B7D

#1F5B7D is a dark, moderate cyan. Relative luminance 0.093; OKLCH L 44.9% C 0.082 H 237.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#1F5B7D
RGBrgb(31, 91, 125)
HSLhsl(202, 60%, 31%)
HSVhsv(202, 75%, 49%)
CMYKcmyk(75.2%, 27.2%, 0%, 51%)
CIE-LABlab(36.47, -6.97, -24.65)
CIE-LCHlch(36.47, 25.62, 254.21°)
OKLaboklab(44.9% -0.044 -0.0695)
OKLCHoklch(44.9% 0.082 237.7)
XYZxyz(8.0064, 9.2532, 20.7622)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B7D #7D411F
analogous
#1F7D70 #1F5B7D #1F2C7D
triadic
#1F5B7D #7D1F5B #5B7D1F
tetradic
#1F5B7D #701F7D #7D411F #2C7D1F
square
#1F5B7D #701F7D #7D411F #2C7D1F
split-complementary
#1F5B7D #7D1F2C #7D701F
monochromatic
#07141B #13374C #1F5B7D #2B7FAE #459ED1

Accessibility & contrast

On white

7.37
#1F5B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1F5B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5B7D
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B7D#FFFFFF#000000##FFFFFF
##1F5B7D1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B7F
Deuteranopia (green-blind)
#3E527C
Tritanopia (blue-blind)
#006467
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5b7d;
/* rgb */ color: rgb(31, 91, 125);
/* oklch */ color: oklch(44.9% 0.082 237.7);
Tailwind
colors: {
  custom: {
    50: '#6889a2',
    500: '#1f5b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b7d;
$custom-light: #6889a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b7d",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 125
  },
  "hsl": {
    "h": 201.702,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44903,
    "c": 0.08225,
    "h": 237.7
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#1F5B7D
secondary
#B06D48
accent
#7E44E3
background
#F6F8FA
surface
#EBF0F3
border
#C6CBCD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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