#1F5E8D#1F5E8D

#1F5E8D is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.6% C 0.099 H 245.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#1F5E8D
RGBrgb(31, 94, 141)
HSLhsl(206, 64%, 34%)
HSVhsv(206, 78%, 55%)
CMYKcmyk(78%, 33.3%, 0%, 44.7%)
CIE-LABlab(38.23, -2.75, -31.64)
CIE-LCHlch(38.23, 31.76, 265.03°)
OKLaboklab(46.57% -0.0416 -0.0898)
OKLCHoklch(46.57% 0.099 245.1)
XYZxyz(9.3736, 10.2187, 26.6725)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E8D #8D4E1F
analogous
#1F8D85 #1F5E8D #1F278D
triadic
#1F5E8D #8D1F5E #5E8D1F
tetradic
#1F5E8D #851F8D #8D4E1F #278D1F
square
#1F5E8D #851F8D #8D4E1F #278D1F
split-complementary
#1F5E8D #8D1F27 #8D851F
monochromatic
#091B29 #143D5B #1F5E8D #2A7FBF #4E9DD8

Accessibility & contrast

On white

6.90
#1F5E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#1F5E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5E8D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E8D#FFFFFF#000000##FFFFFF
##1F5E8D1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48608F
Deuteranopia (green-blind)
#39558C
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5e8d;
/* rgb */ color: rgb(31, 94, 141);
/* oklch */ color: oklch(46.6% 0.099 245.1);
Tailwind
colors: {
  custom: {
    50: '#6c8bae',
    500: '#1f5e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e8d;
$custom-light: #6c8bae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e8d",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 141
  },
  "hsl": {
    "h": 205.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46565,
    "c": 0.09896,
    "h": 245.1
  },
  "luminance": 0.1022
}

Semantic roles & 50–950 ramp

primary
#1F5E8D
secondary
#BB7C4D
accent
#8841E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F5E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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