#2F5784#2F5784

#2F5784 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.9% C 0.087 H 252.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2F5784
RGBrgb(47, 87, 132)
HSLhsl(212, 47%, 35%)
HSVhsv(212, 64%, 52%)
CMYKcmyk(64.4%, 34.1%, 0%, 48.2%)
CIE-LABlab(36.15, 0.93, -29.40)
CIE-LCHlch(36.15, 29.42, 271.82°)
OKLaboklab(44.93% -0.0258 -0.0832)
OKLCHoklch(44.93% 0.087 252.8)
XYZxyz(8.7438, 9.0858, 23.1183)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5784 #845C2F
analogous
#2F8184 #2F5784 #322F84
triadic
#2F5784 #842F57 #57842F
tetradic
#2F5784 #842F81 #845C2F #2F8432
square
#2F5784 #842F81 #845C2F #2F8432
split-complementary
#2F5784 #84322F #81842F
monochromatic
#0F1C2A #1F3957 #2F5784 #3F75B1 #6594C8

Accessibility & contrast

On white

7.45
#2F5784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2F5784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5784
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5784#FFFFFF#000000##FFFFFF
##2F57841.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445A86
Deuteranopia (green-blind)
#385183
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5784;
/* rgb */ color: rgb(47, 87, 132);
/* oklch */ color: oklch(44.9% 0.087 252.8);
Tailwind
colors: {
  custom: {
    50: '#7086a8',
    500: '#2f5784',
    950: '#000000',
  },
}
SCSS
$custom: #2f5784;
$custom-light: #7086a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5784",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 132
  },
  "hsl": {
    "h": 211.765,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44934,
    "c": 0.08708,
    "h": 252.8
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F5784

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

Preview Lab → · Contrast checker → · Palette generator →

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