#2F5D79#2F5D79

#2F5D79 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.8% C 0.068 H 237.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2F5D79
RGBrgb(47, 93, 121)
HSLhsl(203, 44%, 33%)
HSVhsv(203, 61%, 47%)
CMYKcmyk(61.2%, 23.1%, 0%, 52.5%)
CIE-LABlab(37.50, -6.71, -20.54)
CIE-LCHlch(37.50, 21.61, 251.92°)
OKLaboklab(45.83% -0.0366 -0.0575)
OKLCHoklch(45.83% 0.068 237.5)
XYZxyz(8.5365, 9.8127, 19.5296)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D79 #794B2F
analogous
#2F7970 #2F5D79 #2F3879
triadic
#2F5D79 #792F5D #5D792F
tetradic
#2F5D79 #702F79 #794B2F #38792F
square
#2F5D79 #702F79 #794B2F #38792F
split-complementary
#2F5D79 #792F38 #79702F
monochromatic
#0D1921 #1E3B4D #2F5D79 #407FA5 #619DC2

Accessibility & contrast

On white

7.09
#2F5D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2F5D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5D79
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D79#FFFFFF#000000##FFFFFF
##2F5D791.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7A
Deuteranopia (green-blind)
#465579
Tritanopia (blue-blind)
#006466
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f5d79;
/* rgb */ color: rgb(47, 93, 121);
/* oklch */ color: oklch(45.8% 0.068 237.5);
Tailwind
colors: {
  custom: {
    50: '#6f8a9f',
    500: '#2f5d79',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d79;
$custom-light: #6f8a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d79",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 121
  },
  "hsl": {
    "h": 202.703,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45827,
    "c": 0.06815,
    "h": 237.5
  },
  "luminance": 0.09814
}

Semantic roles & 50–950 ramp

primary
#2F5D79
secondary
#A8795B
accent
#8454D4
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2F5D79

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

Preview Lab → · Contrast checker → · Palette generator →

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