#1F5375#1F5375

#1F5375 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.4% C 0.079 H 241.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#1F5375
RGBrgb(31, 83, 117)
HSLhsl(204, 58%, 29%)
HSVhsv(204, 74%, 46%)
CMYKcmyk(73.5%, 29.1%, 0%, 54.1%)
CIE-LABlab(33.48, -5.02, -24.38)
CIE-LCHlch(33.48, 24.89, 258.36°)
OKLaboklab(42.41% -0.0382 -0.0688)
OKLCHoklch(42.41% 0.079 241)
XYZxyz(6.8680, 7.7614, 17.9623)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5375 #75411F
analogous
#1F756C #1F5375 #1F2875
triadic
#1F5375 #751F53 #53751F
tetradic
#1F5375 #6C1F75 #75411F #28751F
square
#1F5375 #6C1F75 #75411F #28751F
split-complementary
#1F5375 #751F28 #756C1F
monochromatic
#061118 #123145 #1F5375 #2C75A5 #4296CD

Accessibility & contrast

On white

8.23
#1F5375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1F5375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5375
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5375#FFFFFF#000000##FFFFFF
##1F53751.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435377
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#005B5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f5375;
/* rgb */ color: rgb(31, 83, 117);
/* oklch */ color: oklch(42.4% 0.079 241.0);
Tailwind
colors: {
  custom: {
    50: '#67839d',
    500: '#1f5375',
    950: '#000000',
  },
}
SCSS
$custom: #1f5375;
$custom-light: #67839d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5375",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 117
  },
  "hsl": {
    "h": 203.721,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42405,
    "c": 0.07869,
    "h": 241
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#1F5375
secondary
#A96E47
accent
#8446E1
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5375

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

Preview Lab → · Contrast checker → · Palette generator →

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