#2F577D#2F577D

#2F577D is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.5% C 0.078 H 248.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2F577D
RGBrgb(47, 87, 125)
HSLhsl(209, 45%, 34%)
HSVhsv(209, 62%, 49%)
CMYKcmyk(62.4%, 30.4%, 0%, 51%)
CIE-LABlab(35.79, -1.59, -25.67)
CIE-LCHlch(35.79, 25.71, 266.47°)
OKLaboklab(44.54% -0.028 -0.0723)
OKLCHoklch(44.54% 0.078 248.8)
XYZxyz(8.2808, 8.9006, 20.6797)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F577D #7D552F
analogous
#2F7D7C #2F577D #2F307D
triadic
#2F577D #7D2F57 #577D2F
tetradic
#2F577D #7C2F7D #7D552F #307D2F
square
#2F577D #7C2F7D #7D552F #307D2F
split-complementary
#2F577D #7D2F30 #7D7C2F
monochromatic
#0E1924 #1E3851 #2F577D #4076A9 #6294C4

Accessibility & contrast

On white

7.55
#2F577D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2F577D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F577D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F577D#FFFFFF#000000##FFFFFF
##2F577D1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587F
Deuteranopia (green-blind)
#3C517C
Tritanopia (blue-blind)
#006064
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f577d;
/* rgb */ color: rgb(47, 87, 125);
/* oklch */ color: oklch(44.5% 0.078 248.8);
Tailwind
colors: {
  custom: {
    50: '#6f86a3',
    500: '#2f577d',
    950: '#000000',
  },
}
SCSS
$custom: #2f577d;
$custom-light: #6f86a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f577d",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 125
  },
  "hsl": {
    "h": 209.231,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44537,
    "c": 0.07754,
    "h": 248.8
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

primary
#2F577D
secondary
#AB835D
accent
#9253D5
background
#F7F8FA
surface
#EDEFF3
border
#C8CACD
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F577D

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

Preview Lab → · Contrast checker → · Palette generator →

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