#1F5D9D#1F5D9D

#1F5D9D is a mid, vivid cyan. Relative luminance 0.106; OKLCH L 47.3% C 0.121 H 252.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#1F5D9D
RGBrgb(31, 93, 157)
HSLhsl(210, 67%, 37%)
HSVhsv(210, 80%, 62%)
CMYKcmyk(80.3%, 40.8%, 0%, 38.4%)
CIE-LABlab(38.82, 4.11, -40.33)
CIE-LCHlch(38.82, 40.54, 275.82°)
OKLaboklab(47.32% -0.0362 -0.1153)
OKLCHoklch(47.32% 0.121 252.5)
XYZxyz(10.5629, 10.5531, 33.3720)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D9D #9D5F1F
analogous
#1F9C9D #1F5D9D #201F9D
triadic
#1F5D9D #9D1F5D #5D9D1F
tetradic
#1F5D9D #9D1F9C #9D5F1F #1F9D20
square
#1F5D9D #9D1F9C #9D5F1F #1F9D20
split-complementary
#1F5D9D #9D201F #9C9D1F
monochromatic
#0B2037 #153F6A #1F5D9D #297BD0 #589ADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F5D9D#FFFFFF#000000##FFFFFF
##1F5D9D1.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)
#3E62A0
Deuteranopia (green-blind)
#29569C
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f5d9d;
/* rgb */ color: rgb(31, 93, 157);
/* oklch */ color: oklch(47.3% 0.121 252.5);
Tailwind
colors: {
  custom: {
    50: '#6f8aba',
    500: '#1f5d9d',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d9d;
$custom-light: #6f8aba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d9d",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 157
  },
  "hsl": {
    "h": 210.476,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.12083,
    "h": 252.5
  },
  "luminance": 0.10554
}

Semantic roles & 50–950 ramp

primary
#1F5D9D
secondary
#C28D56
accent
#953EEA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B12
muted
#7B7C81

Preview Lab

Preview with #1F5D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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