#1F5D9E#1F5D9E

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

Color values

HEX#1F5D9E
RGBrgb(31, 93, 158)
HSLhsl(211, 67%, 37%)
HSVhsv(211, 80%, 62%)
CMYKcmyk(80.4%, 41.1%, 0%, 38%)
CIE-LABlab(38.88, 4.50, -40.84)
CIE-LCHlch(38.88, 41.08, 276.29°)
OKLaboklab(47.38% -0.036 -0.1167)
OKLCHoklch(47.38% 0.122 252.9)
XYZxyz(10.6487, 10.5874, 33.8235)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D9E #9E601F
analogous
#1F9D9E #1F5D9E #211F9E
triadic
#1F5D9E #9E1F5D #5D9E1F
tetradic
#1F5D9E #9E1F9D #9E601F #1F9E21
square
#1F5D9E #9E1F9D #9E601F #1F9E21
split-complementary
#1F5D9E #9E211F #9D9E1F
monochromatic
#0B2138 #153F6B #1F5D9E #297BD1 #599ADE

Accessibility & contrast

On white

6.74
#1F5D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F5D9E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D9E#FFFFFF#000000##FFFFFF
##1F5D9E1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D62A1
Deuteranopia (green-blind)
#28569D
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f5d9e;
/* rgb */ color: rgb(31, 93, 158);
/* oklch */ color: oklch(47.4% 0.122 252.9);
Tailwind
colors: {
  custom: {
    50: '#6f8abb',
    500: '#1f5d9e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d9e;
$custom-light: #6f8abb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d9e",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 158
  },
  "hsl": {
    "h": 210.709,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47382,
    "c": 0.12216,
    "h": 252.9
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#1F5D9E
secondary
#C28E56
accent
#963EEA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F5D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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