#1F5D8A#1F5D8A

#1F5D8A is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.1% C 0.096 H 244.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#1F5D8A
RGBrgb(31, 93, 138)
HSLhsl(205, 63%, 33%)
HSVhsv(205, 78%, 54%)
CMYKcmyk(77.5%, 32.6%, 0%, 45.9%)
CIE-LABlab(37.76, -3.28, -30.56)
CIE-LCHlch(37.76, 30.74, 263.88°)
OKLaboklab(46.14% -0.0416 -0.0867)
OKLCHoklch(46.14% 0.096 244.4)
XYZxyz(9.0651, 9.9539, 25.4834)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D8A #8A4C1F
analogous
#1F8A81 #1F5D8A #1F278A
triadic
#1F5D8A #8A1F5D #5D8A1F
tetradic
#1F5D8A #811F8A #8A4C1F #278A1F
square
#1F5D8A #811F8A #8A4C1F #278A1F
split-complementary
#1F5D8A #8A1F27 #8A811F
monochromatic
#091A26 #143B58 #1F5D8A #2A7FBC #4C9DD7

Accessibility & contrast

On white

7.02
#1F5D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#1F5D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D8A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D8A#FFFFFF#000000##FFFFFF
##1F5D8A1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#395489
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5d8a;
/* rgb */ color: rgb(31, 93, 138);
/* oklch */ color: oklch(46.1% 0.096 244.4);
Tailwind
colors: {
  custom: {
    50: '#6b8aac',
    500: '#1f5d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d8a;
$custom-light: #6b8aac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d8a",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 205.234,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.09613,
    "h": 244.4
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#1F5D8A
secondary
#BA7A4B
accent
#8741E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F5D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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