#2F5982#2F5982

#2F5982 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.3% C 0.082 H 249.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2F5982
RGBrgb(47, 89, 130)
HSLhsl(210, 47%, 35%)
HSVhsv(210, 64%, 51%)
CMYKcmyk(63.8%, 31.5%, 0%, 49%)
CIE-LABlab(36.67, -1.06, -27.36)
CIE-LCHlch(36.67, 27.38, 267.78°)
OKLaboklab(45.31% -0.0287 -0.0772)
OKLCHoklch(45.31% 0.082 249.6)
XYZxyz(8.7725, 9.3600, 22.4591)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5982 #82582F
analogous
#2F8282 #2F5982 #2F2F82
triadic
#2F5982 #822F59 #59822F
tetradic
#2F5982 #822F82 #82582F #2F822F
square
#2F5982 #822F82 #82582F #2F822F
split-complementary
#2F5982 #822F2F #82822F
monochromatic
#0E1B28 #1F3A55 #2F5982 #3F78AF #6496C7

Accessibility & contrast

On white

7.31
#2F5982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2F5982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5982
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5982#FFFFFF#000000##FFFFFF
##2F59821.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B84
Deuteranopia (green-blind)
#3C5381
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5982;
/* rgb */ color: rgb(47, 89, 130);
/* oklch */ color: oklch(45.3% 0.082 249.6);
Tailwind
colors: {
  custom: {
    50: '#7087a6',
    500: '#2f5982',
    950: '#000000',
  },
}
SCSS
$custom: #2f5982;
$custom-light: #7087a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5982",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 130
  },
  "hsl": {
    "h": 209.639,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45308,
    "c": 0.08238,
    "h": 249.6
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#2F5982
secondary
#AE865F
accent
#9351D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5982

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

Preview Lab → · Contrast checker → · Palette generator →

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