#1F507B#1F507B

#1F507B is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.089 H 248.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#1F507B
RGBrgb(31, 80, 123)
HSLhsl(208, 60%, 30%)
HSVhsv(208, 75%, 48%)
CMYKcmyk(74.8%, 35%, 0%, 51.8%)
CIE-LABlab(32.83, -0.80, -29.13)
CIE-LCHlch(32.83, 29.15, 268.42°)
OKLaboklab(41.99% -0.033 -0.0827)
OKLCHoklch(41.99% 0.089 248.2)
XYZxyz(7.0075, 7.4579, 19.8053)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F507B #7B4A1F
analogous
#1F7B78 #1F507B #1F227B
triadic
#1F507B #7B1F50 #507B1F
tetradic
#1F507B #781F7B #7B4A1F #227B1F
square
#1F507B #781F7B #7B4A1F #227B1F
split-complementary
#1F507B #7B1F22 #7B781F
monochromatic
#061019 #13304A #1F507B #2B70AC #448FD0

Accessibility & contrast

On white

8.43
#1F507B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F507B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F507B#FFFFFF#000000##FFFFFF
##1F507B1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f507b;
/* rgb */ color: rgb(31, 80, 123);
/* oklch */ color: oklch(42.0% 0.089 248.2);
Tailwind
colors: {
  custom: {
    50: '#6880a1',
    500: '#1f507b',
    950: '#000000',
  },
}
SCSS
$custom: #1f507b;
$custom-light: #6880a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f507b",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 208.043,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.08903,
    "h": 248.2
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#1F507B
secondary
#AE7848
accent
#8F45E3
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1F507B

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

Preview Lab → · Contrast checker → · Palette generator →

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