#2F5582#2F5582

#2F5582 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.3% C 0.086 H 253.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2F5582
RGBrgb(47, 85, 130)
HSLhsl(213, 47%, 35%)
HSVhsv(213, 64%, 51%)
CMYKcmyk(63.8%, 34.6%, 0%, 49%)
CIE-LABlab(35.42, 1.49, -29.32)
CIE-LCHlch(35.42, 29.36, 272.90°)
OKLaboklab(44.33% -0.0241 -0.0829)
OKLCHoklch(44.33% 0.086 253.8)
XYZxyz(8.4486, 8.7123, 22.3512)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5582 #825C2F
analogous
#2F7F82 #2F5582 #322F82
triadic
#2F5582 #822F55 #55822F
tetradic
#2F5582 #822F7F #825C2F #2F8232
square
#2F5582 #822F7F #825C2F #2F8232
split-complementary
#2F5582 #82322F #7F822F
monochromatic
#0E1A28 #1F3855 #2F5582 #3F72AF #6492C7

Accessibility & contrast

On white

7.66
#2F5582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2F5582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5582
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5582#FFFFFF#000000##FFFFFF
##2F55821.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#375081
Tritanopia (blue-blind)
#005F65
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5582;
/* rgb */ color: rgb(47, 85, 130);
/* oklch */ color: oklch(44.3% 0.086 253.8);
Tailwind
colors: {
  custom: {
    50: '#7084a6',
    500: '#2f5582',
    950: '#000000',
  },
}
SCSS
$custom: #2f5582;
$custom-light: #7084a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5582",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 130
  },
  "hsl": {
    "h": 212.53,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44332,
    "c": 0.08636,
    "h": 253.8
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#2F5582
secondary
#AE8A5F
accent
#9A51D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2F5582

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

Preview Lab → · Contrast checker → · Palette generator →

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