#2F5071#2F5071

#2F5071 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.068 H 249.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2F5071
RGBrgb(47, 80, 113)
HSLhsl(210, 41%, 31%)
HSVhsv(210, 58%, 44%)
CMYKcmyk(58.4%, 29.2%, 0%, 55.7%)
CIE-LABlab(32.99, -1.38, -22.60)
CIE-LCHlch(32.99, 22.64, 266.50°)
OKLaboklab(42.14% -0.0235 -0.0635)
OKLCHoklch(42.14% 0.068 249.7)
XYZxyz(7.0205, 7.5333, 16.7037)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5071 #71502F
analogous
#2F7171 #2F5071 #2F2F71
triadic
#2F5071 #712F50 #50712F
tetradic
#2F5071 #712F71 #71502F #2F712F
square
#2F5071 #712F71 #71502F #2F712F
split-complementary
#2F5071 #712F2F #71712F
monochromatic
#0B131B #1D3146 #2F5071 #416F9C #5E8DBC

Accessibility & contrast

On white

8.38
#2F5071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5071
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5071#FFFFFF#000000##FFFFFF
##2F50711.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425172
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#00585B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f5071;
/* rgb */ color: rgb(47, 80, 113);
/* oklch */ color: oklch(42.1% 0.068 249.7);
Tailwind
colors: {
  custom: {
    50: '#6d809a',
    500: '#2f5071',
    950: '#000000',
  },
}
SCSS
$custom: #2f5071;
$custom-light: #6d809a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5071",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 113
  },
  "hsl": {
    "h": 210,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4214,
    "c": 0.06766,
    "h": 249.7
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#2F5071
secondary
#A27E5A
accent
#9457D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2F5071

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

Preview Lab → · Contrast checker → · Palette generator →

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