#1F526C#1F526C

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

Color values

HEX#1F526C
RGBrgb(31, 82, 108)
HSLhsl(200, 55%, 27%)
HSVhsv(200, 71%, 42%)
CMYKcmyk(71.3%, 24.1%, 0%, 57.6%)
CIE-LABlab(32.72, -7.77, -19.94)
CIE-LCHlch(32.72, 21.40, 248.72°)
OKLaboklab(41.66% -0.0404 -0.056)
OKLCHoklch(41.66% 0.069 234.2)
XYZxyz(6.2881, 7.4079, 15.2829)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F526C #6C391F
analogous
#1F6C60 #1F526C #1F2B6C
triadic
#1F526C #6C1F52 #526C1F
tetradic
#1F526C #601F6C #6C391F #2B6C1F
square
#1F526C #601F6C #6C391F #2B6C1F
split-complementary
#1F526C #6C1F2B #6C601F
monochromatic
#071218 #112E3C #1F526C #2D769C #3E99C8

Accessibility & contrast

On white

8.46
#1F526C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1F526C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F526C
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F526C#FFFFFF#000000##FFFFFF
##1F526C1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f526c;
/* rgb */ color: rgb(31, 82, 108);
/* oklch */ color: oklch(41.7% 0.069 234.2);
Tailwind
colors: {
  custom: {
    50: '#658296',
    500: '#1f526c',
    950: '#000000',
  },
}
SCSS
$custom: #1f526c;
$custom-light: #658296;
$custom-dark: #000000;
JSON
{
  "hex": "#1f526c",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 108
  },
  "hsl": {
    "h": 200.26,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.41656,
    "c": 0.06906,
    "h": 234.2
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#1F526C
secondary
#A06547
accent
#7C49DF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F526C

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

Preview Lab → · Contrast checker → · Palette generator →

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