#1F5E8B#1F5E8B

#1F5E8B is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.4% C 0.096 H 244.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#1F5E8B
RGBrgb(31, 94, 139)
HSLhsl(205, 64%, 33%)
HSVhsv(205, 78%, 55%)
CMYKcmyk(77.7%, 32.4%, 0%, 45.5%)
CIE-LABlab(38.13, -3.52, -30.59)
CIE-LCHlch(38.13, 30.79, 263.44°)
OKLaboklab(46.45% -0.0423 -0.0867)
OKLCHoklch(46.45% 0.096 244)
XYZxyz(9.2262, 10.1597, 25.8959)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E8B #8B4C1F
analogous
#1F8B82 #1F5E8B #1F288B
triadic
#1F5E8B #8B1F5E #5E8B1F
tetradic
#1F5E8B #821F8B #8B4C1F #288B1F
square
#1F5E8B #821F8B #8B4C1F #288B1F
split-complementary
#1F5E8B #8B1F28 #8B821F
monochromatic
#091A27 #143C59 #1F5E8B #2A80BD #4D9ED7

Accessibility & contrast

On white

6.93
#1F5E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1F5E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5E8B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E8B#FFFFFF#000000##FFFFFF
##1F5E8B1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#3A558A
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5e8b;
/* rgb */ color: rgb(31, 94, 139);
/* oklch */ color: oklch(46.4% 0.096 244.0);
Tailwind
colors: {
  custom: {
    50: '#6b8bad',
    500: '#1f5e8b',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e8b;
$custom-light: #6b8bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e8b",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 139
  },
  "hsl": {
    "h": 205,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46449,
    "c": 0.09648,
    "h": 244
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#1F5E8B
secondary
#BA7A4C
accent
#8641E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F5E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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