#1F507A#1F507A

#1F507A is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.088 H 247.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#1F507A
RGBrgb(31, 80, 122)
HSLhsl(208, 59%, 30%)
HSVhsv(208, 75%, 48%)
CMYKcmyk(74.6%, 34.4%, 0%, 52.2%)
CIE-LABlab(32.77, -1.19, -28.60)
CIE-LCHlch(32.77, 28.62, 267.61°)
OKLaboklab(41.93% -0.0333 -0.0811)
OKLCHoklch(41.93% 0.088 247.7)
XYZxyz(6.9453, 7.4330, 19.4773)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F507A #7A491F
analogous
#1F7A76 #1F507A #1F237A
triadic
#1F507A #7A1F50 #507A1F
tetradic
#1F507A #761F7A #7A491F #237A1F
square
#1F507A #761F7A #7A491F #237A1F
split-complementary
#1F507A #7A1F23 #7A761F
monochromatic
#061018 #133049 #1F507A #2B70AB #448FCF

Accessibility & contrast

On white

8.44
#1F507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F507A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F507A#FFFFFF#000000##FFFFFF
##1F507A1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527C
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f507a;
/* rgb */ color: rgb(31, 80, 122);
/* oklch */ color: oklch(41.9% 0.088 247.7);
Tailwind
colors: {
  custom: {
    50: '#6780a0',
    500: '#1f507a',
    950: '#000000',
  },
}
SCSS
$custom: #1f507a;
$custom-light: #6780a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f507a",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 207.692,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.0877,
    "h": 247.7
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#1F507A
secondary
#AD7647
accent
#8E45E3
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1F507A

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

Preview Lab → · Contrast checker → · Palette generator →

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