#1F5D9F#1F5D9F

#1F5D9F is a mid, vivid cyan. Relative luminance 0.106; OKLCH L 47.4% C 0.124 H 253.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#1F5D9F
RGBrgb(31, 93, 159)
HSLhsl(211, 67%, 37%)
HSVhsv(211, 81%, 62%)
CMYKcmyk(80.5%, 41.5%, 0%, 37.6%)
CIE-LABlab(38.94, 4.90, -41.34)
CIE-LCHlch(38.94, 41.63, 276.75°)
OKLaboklab(47.45% -0.0358 -0.1182)
OKLCHoklch(47.45% 0.124 253.2)
XYZxyz(10.7351, 10.6219, 34.2786)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D9F #9F611F
analogous
#1F9D9F #1F5D9F #211F9F
triadic
#1F5D9F #9F1F5D #5D9F1F
tetradic
#1F5D9F #9F1F9D #9F611F #1F9F21
square
#1F5D9F #9F1F9D #9F611F #1F9F21
split-complementary
#1F5D9F #9F211F #9D9F1F
monochromatic
#0B2139 #153F6C #1F5D9F #297BD2 #5A9ADF

Accessibility & contrast

On white

6.72
#1F5D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#1F5D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5D9F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D9F#FFFFFF#000000##FFFFFF
##1F5D9F1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D62A2
Deuteranopia (green-blind)
#27569E
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f5d9f;
/* rgb */ color: rgb(31, 93, 159);
/* oklch */ color: oklch(47.4% 0.124 253.2);
Tailwind
colors: {
  custom: {
    50: '#6f8abc',
    500: '#1f5d9f',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d9f;
$custom-light: #6f8abc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d9f",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 159
  },
  "hsl": {
    "h": 210.938,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47448,
    "c": 0.12351,
    "h": 253.2
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#1F5D9F
secondary
#C38F57
accent
#973EEA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F5D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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