#2F5079#2F5079

#2F5079 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.079 H 254.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2F5079
RGBrgb(47, 80, 121)
HSLhsl(213, 44%, 33%)
HSVhsv(213, 61%, 47%)
CMYKcmyk(61.2%, 33.9%, 0%, 52.5%)
CIE-LABlab(33.40, 1.46, -26.95)
CIE-LCHlch(33.40, 26.99, 273.10°)
OKLaboklab(42.59% -0.0209 -0.0761)
OKLCHoklch(42.59% 0.079 254.6)
XYZxyz(7.4909, 7.7215, 19.1811)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5079 #79582F
analogous
#2F7579 #2F5079 #332F79
triadic
#2F5079 #792F50 #50792F
tetradic
#2F5079 #792F75 #79582F #2F7933
square
#2F5079 #792F75 #79582F #2F7933
split-complementary
#2F5079 #79332F #75792F
monochromatic
#0D1621 #1E334D #2F5079 #406DA5 #618CC2

Accessibility & contrast

On white

8.25
#2F5079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2F5079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5079
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5079#FFFFFF#000000##FFFFFF
##2F50791.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527B
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f5079;
/* rgb */ color: rgb(47, 80, 121);
/* oklch */ color: oklch(42.6% 0.079 254.6);
Tailwind
colors: {
  custom: {
    50: '#6e80a0',
    500: '#2f5079',
    950: '#000000',
  },
}
SCSS
$custom: #2f5079;
$custom-light: #6e80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5079",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 121
  },
  "hsl": {
    "h": 213.243,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4259,
    "c": 0.07891,
    "h": 254.6
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#2F5079
secondary
#A8865B
accent
#9B54D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #2F5079

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

Preview Lab → · Contrast checker → · Palette generator →

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