#1F526D#1F526D

#1F526D is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.7% C 0.070 H 235.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1F526D
RGBrgb(31, 82, 109)
HSLhsl(201, 56%, 27%)
HSVhsv(201, 72%, 43%)
CMYKcmyk(71.6%, 24.8%, 0%, 57.3%)
CIE-LABlab(32.76, -7.40, -20.50)
CIE-LCHlch(32.76, 21.79, 250.15°)
OKLaboklab(41.71% -0.04 -0.0576)
OKLCHoklch(41.71% 0.07 235.2)
XYZxyz(6.3416, 7.4293, 15.5648)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F526D #6D3A1F
analogous
#1F6D61 #1F526D #1F2B6D
triadic
#1F526D #6D1F52 #526D1F
tetradic
#1F526D #611F6D #6D3A1F #2B6D1F
square
#1F526D #611F6D #6D3A1F #2B6D1F
split-complementary
#1F526D #6D1F2B #6D611F
monochromatic
#071218 #112E3D #1F526D #2D769D #3E98C8

Accessibility & contrast

On white

8.45
#1F526D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F526D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F526D#FFFFFF#000000##FFFFFF
##1F526D1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516E
Deuteranopia (green-blind)
#3A4A6D
Tritanopia (blue-blind)
#00595B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f526d;
/* rgb */ color: rgb(31, 82, 109);
/* oklch */ color: oklch(41.7% 0.070 235.2);
Tailwind
colors: {
  custom: {
    50: '#658297',
    500: '#1f526d',
    950: '#000000',
  },
}
SCSS
$custom: #1f526d;
$custom-light: #658297;
$custom-dark: #000000;
JSON
{
  "hex": "#1f526d",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 109
  },
  "hsl": {
    "h": 200.769,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41709,
    "c": 0.07014,
    "h": 235.2
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#1F526D
secondary
#A16647
accent
#7D49DF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F526D

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

Preview Lab → · Contrast checker → · Palette generator →

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