#1F5E8E#1F5E8E

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

Color values

HEX#1F5E8E
RGBrgb(31, 94, 142)
HSLhsl(206, 64%, 34%)
HSVhsv(206, 78%, 56%)
CMYKcmyk(78.2%, 33.8%, 0%, 44.3%)
CIE-LABlab(38.28, -2.37, -32.16)
CIE-LCHlch(38.28, 32.25, 265.79°)
OKLaboklab(46.62% -0.0413 -0.0913)
OKLCHoklch(46.62% 0.1 245.6)
XYZxyz(9.4484, 10.2486, 27.0662)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E8E #8E4F1F
analogous
#1F8E87 #1F5E8E #1F278E
triadic
#1F5E8E #8E1F5E #5E8E1F
tetradic
#1F5E8E #871F8E #8E4F1F #278E1F
square
#1F5E8E #871F8E #8E4F1F #278E1F
split-complementary
#1F5E8E #8E1F27 #8E871F
monochromatic
#091B2A #143D5C #1F5E8E #2A7FC0 #4F9DD9

Accessibility & contrast

On white

6.89
#1F5E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1F5E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5E8E
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E8E#FFFFFF#000000##FFFFFF
##1F5E8E1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486090
Deuteranopia (green-blind)
#38558D
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5e8e;
/* rgb */ color: rgb(31, 94, 142);
/* oklch */ color: oklch(46.6% 0.100 245.6);
Tailwind
colors: {
  custom: {
    50: '#6c8baf',
    500: '#1f5e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e8e;
$custom-light: #6c8baf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e8e",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 142
  },
  "hsl": {
    "h": 205.946,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46624,
    "c": 0.10021,
    "h": 245.6
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#1F5E8E
secondary
#BB7D4D
accent
#8941E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F5E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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