#1F5D8B#1F5D8B

#1F5D8B is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.2% C 0.097 H 244.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#1F5D8B
RGBrgb(31, 93, 139)
HSLhsl(206, 64%, 33%)
HSVhsv(206, 78%, 55%)
CMYKcmyk(77.7%, 33.1%, 0%, 45.5%)
CIE-LABlab(37.81, -2.89, -31.09)
CIE-LCHlch(37.81, 31.22, 264.68°)
OKLaboklab(46.2% -0.0413 -0.0882)
OKLCHoklch(46.2% 0.097 244.9)
XYZxyz(9.1378, 9.9830, 25.8664)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D8B #8B4D1F
analogous
#1F8B83 #1F5D8B #1F278B
triadic
#1F5D8B #8B1F5D #5D8B1F
tetradic
#1F5D8B #831F8B #8B4D1F #278B1F
square
#1F5D8B #831F8B #8B4D1F #278B1F
split-complementary
#1F5D8B #8B1F27 #8B831F
monochromatic
#091A27 #143C59 #1F5D8B #2A7EBD #4D9CD7

Accessibility & contrast

On white

7.01
#1F5D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#1F5D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5D8B
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D8B#FFFFFF#000000##FFFFFF
##1F5D8B1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8D
Deuteranopia (green-blind)
#39548A
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5d8b;
/* rgb */ color: rgb(31, 93, 139);
/* oklch */ color: oklch(46.2% 0.097 244.9);
Tailwind
colors: {
  custom: {
    50: '#6b8aad',
    500: '#1f5d8b',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d8b;
$custom-light: #6b8aad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d8b",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 139
  },
  "hsl": {
    "h": 205.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46199,
    "c": 0.09737,
    "h": 244.9
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#1F5D8B
secondary
#BA7B4C
accent
#8841E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F5D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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