#1F507C#1F507C

#1F507C is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.090 H 248.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#1F507C
RGBrgb(31, 80, 124)
HSLhsl(208, 60%, 30%)
HSVhsv(208, 75%, 49%)
CMYKcmyk(75%, 35.5%, 0%, 51.4%)
CIE-LABlab(32.88, -0.42, -29.67)
CIE-LCHlch(32.88, 29.67, 269.20°)
OKLaboklab(42.05% -0.0327 -0.0842)
OKLCHoklch(42.05% 0.09 248.8)
XYZxyz(7.0705, 7.4831, 20.1366)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F507C #7C4B1F
analogous
#1F7C79 #1F507C #1F217C
triadic
#1F507C #7C1F50 #507C1F
tetradic
#1F507C #791F7C #7C4B1F #217C1F
square
#1F507C #791F7C #7C4B1F #217C1F
split-complementary
#1F507C #7C1F21 #7C791F
monochromatic
#07111A #13304B #1F507C #2B70AD #458ED0

Accessibility & contrast

On white

8.41
#1F507C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1F507C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F507C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F507C#FFFFFF#000000##FFFFFF
##1F507C1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#2F497B
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f507c;
/* rgb */ color: rgb(31, 80, 124);
/* oklch */ color: oklch(42.1% 0.090 248.8);
Tailwind
colors: {
  custom: {
    50: '#6880a2',
    500: '#1f507c',
    950: '#000000',
  },
}
SCSS
$custom: #1f507c;
$custom-light: #6880a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f507c",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 208.387,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.09037,
    "h": 248.8
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#1F507C
secondary
#AF7948
accent
#9045E3
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F507C

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

Preview Lab → · Contrast checker → · Palette generator →

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