#1F5E89#1F5E89

#1F5E89 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.3% C 0.094 H 242.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#1F5E89
RGBrgb(31, 94, 137)
HSLhsl(204, 63%, 33%)
HSVhsv(204, 77%, 54%)
CMYKcmyk(77.4%, 31.4%, 0%, 46.3%)
CIE-LABlab(38.02, -4.28, -29.54)
CIE-LCHlch(38.02, 29.85, 261.75°)
OKLaboklab(46.33% -0.0429 -0.0837)
OKLCHoklch(46.33% 0.094 242.8)
XYZxyz(9.0814, 10.1018, 25.1333)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E89 #894A1F
analogous
#1F897F #1F5E89 #1F2989
triadic
#1F5E89 #891F5E #5E891F
tetradic
#1F5E89 #7F1F89 #894A1F #29891F
square
#1F5E89 #7F1F89 #894A1F #29891F
split-complementary
#1F5E89 #891F29 #897F1F
monochromatic
#081A25 #143C57 #1F5E89 #2A80BB #4C9ED6

Accessibility & contrast

On white

6.95
#1F5E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#1F5E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5E89
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E89#FFFFFF#000000##FFFFFF
##1F5E891.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8B
Deuteranopia (green-blind)
#3B5588
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5e89;
/* rgb */ color: rgb(31, 94, 137);
/* oklch */ color: oklch(46.3% 0.094 242.8);
Tailwind
colors: {
  custom: {
    50: '#6b8bab',
    500: '#1f5e89',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e89;
$custom-light: #6b8bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e89",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 137
  },
  "hsl": {
    "h": 204.34,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46333,
    "c": 0.09403,
    "h": 242.8
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#1F5E89
secondary
#B9774B
accent
#8442E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C10
muted
#7A7D7F

Preview Lab

Preview with #1F5E89

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

Preview Lab → · Contrast checker → · Palette generator →

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