#1F5E7D#1F5E7D

#1F5E7D is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.7% C 0.080 H 234.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#1F5E7D
RGBrgb(31, 94, 125)
HSLhsl(200, 60%, 31%)
HSVhsv(200, 75%, 49%)
CMYKcmyk(75.2%, 24.8%, 0%, 51%)
CIE-LABlab(37.44, -8.79, -23.14)
CIE-LCHlch(37.44, 24.76, 249.19°)
OKLaboklab(45.68% -0.0471 -0.0651)
OKLCHoklch(45.68% 0.08 234.1)
XYZxyz(8.2680, 9.7764, 20.8494)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E7D #7D3E1F
analogous
#1F7D6D #1F5E7D #1F2F7D
triadic
#1F5E7D #7D1F5E #5E7D1F
tetradic
#1F5E7D #6D1F7D #7D3E1F #2F7D1F
square
#1F5E7D #6D1F7D #7D3E1F #2F7D1F
split-complementary
#1F5E7D #7D1F2F #7D6D1F
monochromatic
#07141B #13394C #1F5E7D #2B83AE #45A3D1

Accessibility & contrast

On white

7.11
#1F5E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#1F5E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5E7D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E7D#FFFFFF#000000##FFFFFF
##1F5E7D1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7E
Deuteranopia (green-blind)
#42547D
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5e7d;
/* rgb */ color: rgb(31, 94, 125);
/* oklch */ color: oklch(45.7% 0.080 234.1);
Tailwind
colors: {
  custom: {
    50: '#698ba2',
    500: '#1f5e7d',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e7d;
$custom-light: #698ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e7d",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 125
  },
  "hsl": {
    "h": 199.787,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.0804,
    "h": 234.1
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#1F5E7D
secondary
#B06A48
accent
#7944E3
background
#F6F8FA
surface
#EBF0F3
border
#C6CBCD
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #1F5E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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