#2F5780#2F5780

#2F5780 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.7% C 0.082 H 250.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2F5780
RGBrgb(47, 87, 128)
HSLhsl(210, 46%, 34%)
HSVhsv(210, 63%, 50%)
CMYKcmyk(63.3%, 32%, 0%, 49.8%)
CIE-LABlab(35.94, -0.51, -27.27)
CIE-LCHlch(35.94, 27.28, 268.93°)
OKLaboklab(44.71% -0.027 -0.077)
OKLCHoklch(44.71% 0.082 250.6)
XYZxyz(8.4754, 8.9785, 21.7043)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5780 #80582F
analogous
#2F8080 #2F5780 #2F2F80
triadic
#2F5780 #802F57 #57802F
tetradic
#2F5780 #802F80 #80582F #2F802F
square
#2F5780 #802F80 #80582F #2F802F
split-complementary
#2F5780 #802F2F #80802F
monochromatic
#0E1A26 #1F3953 #2F5780 #3F75AD #6394C6

Accessibility & contrast

On white

7.51
#2F5780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2F5780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5780
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5780#FFFFFF#000000##FFFFFF
##2F57801.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465982
Deuteranopia (green-blind)
#3B517F
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5780;
/* rgb */ color: rgb(47, 87, 128);
/* oklch */ color: oklch(44.7% 0.082 250.6);
Tailwind
colors: {
  custom: {
    50: '#6f86a5',
    500: '#2f5780',
    950: '#000000',
  },
}
SCSS
$custom: #2f5780;
$custom-light: #6f86a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5780",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 128
  },
  "hsl": {
    "h": 210.37,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44705,
    "c": 0.08157,
    "h": 250.6
  },
  "luminance": 0.08979
}

Semantic roles & 50–950 ramp

primary
#2F5780
secondary
#AD865E
accent
#9552D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5780

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

Preview Lab → · Contrast checker → · Palette generator →

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