#1F526F#1F526F

#1F526F is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 41.8% C 0.072 H 237.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#1F526F
RGBrgb(31, 82, 111)
HSLhsl(202, 56%, 28%)
HSVhsv(202, 72%, 44%)
CMYKcmyk(72.1%, 26.1%, 0%, 56.5%)
CIE-LABlab(32.86, -6.65, -21.60)
CIE-LCHlch(32.86, 22.60, 252.88°)
OKLaboklab(41.82% -0.0393 -0.0608)
OKLCHoklch(41.82% 0.072 237.1)
XYZxyz(6.4505, 7.4729, 16.1383)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F526F #6F3C1F
analogous
#1F6F64 #1F526F #1F2A6F
triadic
#1F526F #6F1F52 #526F1F
tetradic
#1F526F #641F6F #6F3C1F #2A6F1F
square
#1F526F #641F6F #6F3C1F #2A6F1F
split-complementary
#1F526F #6F1F2A #6F641F
monochromatic
#071218 #122F3F #1F526F #2C759F #3F97C9

Accessibility & contrast

On white

8.42
#1F526F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1F526F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F526F
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F526F#FFFFFF#000000##FFFFFF
##1F526F1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445270
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f526f;
/* rgb */ color: rgb(31, 82, 111);
/* oklch */ color: oklch(41.8% 0.072 237.1);
Tailwind
colors: {
  custom: {
    50: '#658298',
    500: '#1f526f',
    950: '#000000',
  },
}
SCSS
$custom: #1f526f;
$custom-light: #658298;
$custom-dark: #000000;
JSON
{
  "hex": "#1f526f",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 111
  },
  "hsl": {
    "h": 201.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.07236,
    "h": 237.1
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#1F526F
secondary
#A36847
accent
#7F48E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F526F

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

Preview Lab → · Contrast checker → · Palette generator →

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