#1F5D8E#1F5D8E

#1F5D8E is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.4% C 0.101 H 246.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#1F5D8E
RGBrgb(31, 93, 142)
HSLhsl(206, 64%, 34%)
HSVhsv(206, 78%, 56%)
CMYKcmyk(78.2%, 34.5%, 0%, 44.3%)
CIE-LABlab(37.97, -1.74, -32.65)
CIE-LCHlch(37.97, 32.70, 266.95°)
OKLaboklab(46.38% -0.0403 -0.0928)
OKLCHoklch(46.38% 0.101 246.5)
XYZxyz(9.3600, 10.0719, 27.0367)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D8E #8E501F
analogous
#1F8E88 #1F5D8E #1F268E
triadic
#1F5D8E #8E1F5D #5D8E1F
tetradic
#1F5D8E #881F8E #8E501F #268E1F
square
#1F5D8E #881F8E #8E501F #268E1F
split-complementary
#1F5D8E #8E1F26 #8E881F
monochromatic
#091B2A #143C5C #1F5D8E #2A7EC0 #4F9CD9

Accessibility & contrast

On white

6.97
#1F5D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1F5D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5D8E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D8E#FFFFFF#000000##FFFFFF
##1F5D8E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5d8e;
/* rgb */ color: rgb(31, 93, 142);
/* oklch */ color: oklch(46.4% 0.101 246.5);
Tailwind
colors: {
  custom: {
    50: '#6c8aaf',
    500: '#1f5d8e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d8e;
$custom-light: #6c8aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d8e",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 142
  },
  "hsl": {
    "h": 206.486,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46377,
    "c": 0.10116,
    "h": 246.5
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#1F5D8E
secondary
#BB7E4D
accent
#8A41E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F5D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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