#2F5B79#2F5B79

#2F5B79 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.3% C 0.069 H 240.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2F5B79
RGBrgb(47, 91, 121)
HSLhsl(204, 44%, 33%)
HSVhsv(204, 61%, 47%)
CMYKcmyk(61.2%, 24.8%, 0%, 52.5%)
CIE-LABlab(36.87, -5.48, -21.53)
CIE-LCHlch(36.87, 22.22, 255.71°)
OKLaboklab(45.32% -0.0342 -0.0603)
OKLCHoklch(45.32% 0.069 240.4)
XYZxyz(8.3633, 9.4662, 19.4719)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B79 #794D2F
analogous
#2F7972 #2F5B79 #2F3679
triadic
#2F5B79 #792F5B #5B792F
tetradic
#2F5B79 #722F79 #794D2F #36792F
square
#2F5B79 #722F79 #794D2F #36792F
split-complementary
#2F5B79 #792F36 #79722F
monochromatic
#0D1921 #1E3A4D #2F5B79 #407CA5 #619AC2

Accessibility & contrast

On white

7.26
#2F5B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2F5B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5B79
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B79#FFFFFF#000000##FFFFFF
##2F5B791.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B7A
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#006265
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f5b79;
/* rgb */ color: rgb(47, 91, 121);
/* oklch */ color: oklch(45.3% 0.069 240.4);
Tailwind
colors: {
  custom: {
    50: '#6e899f',
    500: '#2f5b79',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b79;
$custom-light: #6e899f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b79",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 121
  },
  "hsl": {
    "h": 204.324,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45322,
    "c": 0.06934,
    "h": 240.4
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

primary
#2F5B79
secondary
#A87B5B
accent
#8854D4
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2F5B79

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

Preview Lab → · Contrast checker → · Palette generator →

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