#1F5E8A#1F5E8A

#1F5E8A is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.4% C 0.095 H 243.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#1F5E8A
RGBrgb(31, 94, 138)
HSLhsl(205, 63%, 33%)
HSVhsv(205, 78%, 54%)
CMYKcmyk(77.5%, 31.9%, 0%, 45.9%)
CIE-LABlab(38.08, -3.90, -30.07)
CIE-LCHlch(38.08, 30.32, 262.61°)
OKLaboklab(46.39% -0.0426 -0.0852)
OKLCHoklch(46.39% 0.095 243.4)
XYZxyz(9.1534, 10.1306, 25.5128)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E8A #8A4B1F
analogous
#1F8A80 #1F5E8A #1F288A
triadic
#1F5E8A #8A1F5E #5E8A1F
tetradic
#1F5E8A #801F8A #8A4B1F #288A1F
square
#1F5E8A #801F8A #8A4B1F #288A1F
split-complementary
#1F5E8A #8A1F28 #8A801F
monochromatic
#091A26 #143C58 #1F5E8A #2A80BC #4C9ED7

Accessibility & contrast

On white

6.94
#1F5E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F5E8A
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E8A#FFFFFF#000000##FFFFFF
##1F5E8A1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8C
Deuteranopia (green-blind)
#3B5589
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5e8a;
/* rgb */ color: rgb(31, 94, 138);
/* oklch */ color: oklch(46.4% 0.095 243.4);
Tailwind
colors: {
  custom: {
    50: '#6b8bac',
    500: '#1f5e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e8a;
$custom-light: #6b8bac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e8a",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 204.673,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46391,
    "c": 0.09525,
    "h": 243.4
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#1F5E8A
secondary
#BA794B
accent
#8541E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F5E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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