#1F526B#1F526B

#1F526B is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.6% C 0.068 H 233.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#1F526B
RGBrgb(31, 82, 107)
HSLhsl(200, 55%, 27%)
HSVhsv(200, 71%, 42%)
CMYKcmyk(71%, 23.4%, 0%, 58%)
CIE-LABlab(32.67, -8.14, -19.39)
CIE-LCHlch(32.67, 21.03, 247.23°)
OKLaboklab(41.6% -0.0408 -0.0544)
OKLCHoklch(41.6% 0.068 233.1)
XYZxyz(6.2352, 7.3868, 15.0042)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F526B #6B381F
analogous
#1F6B5E #1F526B #1F2C6B
triadic
#1F526B #6B1F52 #526B1F
tetradic
#1F526B #5E1F6B #6B381F #2C6B1F
square
#1F526B #5E1F6B #6B381F #2C6B1F
split-complementary
#1F526B #6B1F2C #6B5E1F
monochromatic
#071218 #112E3C #1F526B #2D769A #3D9AC7

Accessibility & contrast

On white

8.48
#1F526B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F526B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F526B#FFFFFF#000000##FFFFFF
##1F526B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46516C
Deuteranopia (green-blind)
#3B4A6B
Tritanopia (blue-blind)
#00595A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f526b;
/* rgb */ color: rgb(31, 82, 107);
/* oklch */ color: oklch(41.6% 0.068 233.1);
Tailwind
colors: {
  custom: {
    50: '#658295',
    500: '#1f526b',
    950: '#000000',
  },
}
SCSS
$custom: #1f526b;
$custom-light: #658295;
$custom-dark: #000000;
JSON
{
  "hex": "#1f526b",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 107
  },
  "hsl": {
    "h": 199.737,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.41604,
    "c": 0.068,
    "h": 233.1
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#1F526B
secondary
#9F6447
accent
#7A49DE
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F526B

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

Preview Lab → · Contrast checker → · Palette generator →

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