#2F5682#2F5682

#2F5682 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.6% C 0.085 H 252.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2F5682
RGBrgb(47, 86, 130)
HSLhsl(212, 47%, 35%)
HSVhsv(212, 64%, 51%)
CMYKcmyk(63.8%, 33.8%, 0%, 49%)
CIE-LABlab(35.73, 0.85, -28.83)
CIE-LCHlch(35.73, 28.84, 271.68°)
OKLaboklab(44.58% -0.0253 -0.0815)
OKLCHoklch(44.58% 0.085 252.8)
XYZxyz(8.5279, 8.8708, 22.3776)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5682 #825B2F
analogous
#2F8082 #2F5682 #312F82
triadic
#2F5682 #822F56 #56822F
tetradic
#2F5682 #822F80 #825B2F #2F8231
square
#2F5682 #822F80 #825B2F #2F8231
split-complementary
#2F5682 #82312F #80822F
monochromatic
#0E1B28 #1F3855 #2F5682 #3F74AF #6493C7

Accessibility & contrast

On white

7.57
#2F5682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2F5682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5682
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5682#FFFFFF#000000##FFFFFF
##2F56821.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435884
Deuteranopia (green-blind)
#385081
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5682;
/* rgb */ color: rgb(47, 86, 130);
/* oklch */ color: oklch(44.6% 0.085 252.8);
Tailwind
colors: {
  custom: {
    50: '#7085a6',
    500: '#2f5682',
    950: '#000000',
  },
}
SCSS
$custom: #2f5682;
$custom-light: #7085a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5682",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 130
  },
  "hsl": {
    "h": 211.807,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44575,
    "c": 0.08533,
    "h": 252.8
  },
  "luminance": 0.08872
}

Semantic roles & 50–950 ramp

primary
#2F5682
secondary
#AE895F
accent
#9851D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5682

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

Preview Lab → · Contrast checker → · Palette generator →

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