#2F5879#2F5879

#2F5879 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.6% C 0.071 H 244.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2F5879
RGBrgb(47, 88, 121)
HSLhsl(207, 44%, 33%)
HSVhsv(207, 61%, 47%)
CMYKcmyk(61.2%, 27.3%, 0%, 52.5%)
CIE-LABlab(35.91, -3.63, -23.01)
CIE-LCHlch(35.91, 23.30, 261.04°)
OKLaboklab(44.57% -0.0306 -0.0646)
OKLCHoklch(44.57% 0.071 244.7)
XYZxyz(8.1119, 8.9635, 19.3881)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5879 #79502F
analogous
#2F7975 #2F5879 #2F3379
triadic
#2F5879 #792F58 #58792F
tetradic
#2F5879 #752F79 #79502F #33792F
square
#2F5879 #752F79 #79502F #33792F
split-complementary
#2F5879 #792F33 #79752F
monochromatic
#0D1821 #1E384D #2F5879 #4078A5 #6196C2

Accessibility & contrast

On white

7.52
#2F5879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2F5879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5879
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5879#FFFFFF#000000##FFFFFF
##2F58791.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597A
Deuteranopia (green-blind)
#405178
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5879;
/* rgb */ color: rgb(47, 88, 121);
/* oklch */ color: oklch(44.6% 0.071 244.7);
Tailwind
colors: {
  custom: {
    50: '#6e87a0',
    500: '#2f5879',
    950: '#000000',
  },
}
SCSS
$custom: #2f5879;
$custom-light: #6e87a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5879",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 206.757,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44569,
    "c": 0.07148,
    "h": 244.7
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#2F5879
secondary
#A87E5B
accent
#8D54D4
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2F5879

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

Preview Lab → · Contrast checker → · Palette generator →

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