#2F5684#2F5684

#2F5684 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.7% C 0.088 H 253.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2F5684
RGBrgb(47, 86, 132)
HSLhsl(212, 47%, 35%)
HSVhsv(212, 64%, 52%)
CMYKcmyk(64.4%, 34.8%, 0%, 48.2%)
CIE-LABlab(35.84, 1.57, -29.89)
CIE-LCHlch(35.84, 29.93, 273.01°)
OKLaboklab(44.69% -0.0247 -0.0846)
OKLCHoklch(44.69% 0.088 253.7)
XYZxyz(8.6634, 8.9250, 23.0915)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5684 #845D2F
analogous
#2F8084 #2F5684 #332F84
triadic
#2F5684 #842F56 #56842F
tetradic
#2F5684 #842F80 #845D2F #2F8433
square
#2F5684 #842F80 #845D2F #2F8433
split-complementary
#2F5684 #84332F #80842F
monochromatic
#0F1B2A #1F3957 #2F5684 #3F73B1 #6593C8

Accessibility & contrast

On white

7.54
#2F5684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5684
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5684#FFFFFF#000000##FFFFFF
##2F56841.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425986
Deuteranopia (green-blind)
#375183
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5684;
/* rgb */ color: rgb(47, 86, 132);
/* oklch */ color: oklch(44.7% 0.088 253.7);
Tailwind
colors: {
  custom: {
    50: '#7085a8',
    500: '#2f5684',
    950: '#000000',
  },
}
SCSS
$custom: #2f5684;
$custom-light: #7085a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5684",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 212.471,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44692,
    "c": 0.08812,
    "h": 253.7
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#2F5684
secondary
#AF8B60
accent
#9951D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5684

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

Preview Lab → · Contrast checker → · Palette generator →

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