#2F517D#2F517D

#2F517D is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.084 H 255.5°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2F517D
RGBrgb(47, 81, 125)
HSLhsl(214, 45%, 34%)
HSVhsv(214, 62%, 49%)
CMYKcmyk(62.4%, 35.2%, 0%, 51%)
CIE-LABlab(33.92, 2.25, -28.61)
CIE-LCHlch(33.92, 28.70, 274.51°)
OKLaboklab(43.07% -0.0209 -0.0809)
OKLCHoklch(43.07% 0.084 255.5)
XYZxyz(7.8151, 7.9692, 20.5244)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F517D #7D5B2F
analogous
#2F787D #2F517D #342F7D
triadic
#2F517D #7D2F51 #517D2F
tetradic
#2F517D #7D2F78 #7D5B2F #2F7D34
square
#2F517D #7D2F78 #7D5B2F #2F7D34
split-complementary
#2F517D #7D342F #787D2F
monochromatic
#0E1724 #1E3451 #2F517D #406EA9 #628DC4

Accessibility & contrast

On white

8.10
#2F517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2F517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F517D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F517D#FFFFFF#000000##FFFFFF
##2F517D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E547F
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f517d;
/* rgb */ color: rgb(47, 81, 125);
/* oklch */ color: oklch(43.1% 0.084 255.5);
Tailwind
colors: {
  custom: {
    50: '#6f81a3',
    500: '#2f517d',
    950: '#000000',
  },
}
SCSS
$custom: #2f517d;
$custom-light: #6f81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f517d",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 213.846,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43068,
    "c": 0.08356,
    "h": 255.5
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#2F517D
secondary
#AB895D
accent
#9C53D5
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2F517D

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

Preview Lab → · Contrast checker → · Palette generator →

#2F517D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva