#2F5072#2F5072

#2F5072 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.069 H 250.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2F5072
RGBrgb(47, 80, 114)
HSLhsl(210, 42%, 32%)
HSVhsv(210, 59%, 45%)
CMYKcmyk(58.8%, 29.8%, 0%, 55.3%)
CIE-LABlab(33.04, -1.03, -23.15)
CIE-LCHlch(33.04, 23.17, 267.45°)
OKLaboklab(42.2% -0.0231 -0.065)
OKLCHoklch(42.2% 0.069 250.4)
XYZxyz(7.0771, 7.5560, 17.0018)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5072 #72512F
analogous
#2F7272 #2F5072 #302F72
triadic
#2F5072 #722F50 #50722F
tetradic
#2F5072 #722F72 #72512F #2F7230
square
#2F5072 #722F72 #72512F #2F7230
split-complementary
#2F5072 #72302F #72722F
monochromatic
#0B131B #1D3247 #2F5072 #416E9D #5F8DBD

Accessibility & contrast

On white

8.36
#2F5072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2F5072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5072
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5072#FFFFFF#000000##FFFFFF
##2F50721.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425174
Deuteranopia (green-blind)
#394B71
Tritanopia (blue-blind)
#00585C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f5072;
/* rgb */ color: rgb(47, 80, 114);
/* oklch */ color: oklch(42.2% 0.069 250.4);
Tailwind
colors: {
  custom: {
    50: '#6d809a',
    500: '#2f5072',
    950: '#000000',
  },
}
SCSS
$custom: #2f5072;
$custom-light: #6d809a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5072",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 114
  },
  "hsl": {
    "h": 210.448,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42195,
    "c": 0.06904,
    "h": 250.4
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#2F5072
secondary
#A37F5A
accent
#9556D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2F5072

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

Preview Lab → · Contrast checker → · Palette generator →

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