#2F578E#2F578E

#2F578E is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.5% C 0.101 H 256.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2F578E
RGBrgb(47, 87, 142)
HSLhsl(215, 50%, 37%)
HSVhsv(215, 67%, 56%)
CMYKcmyk(66.9%, 38.7%, 0%, 44.3%)
CIE-LABlab(36.69, 4.60, -34.64)
CIE-LCHlch(36.69, 34.95, 277.57°)
OKLaboklab(45.54% -0.0231 -0.0985)
OKLCHoklch(45.54% 0.101 256.8)
XYZxyz(9.4612, 9.3728, 26.8965)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F578E #8E662F
analogous
#2F878E #2F578E #372F8E
triadic
#2F578E #8E2F57 #578E2F
tetradic
#2F578E #8E2F87 #8E662F #2F8E37
square
#2F578E #8E2F87 #8E662F #2F8E37
split-complementary
#2F578E #8E372F #878E2F
monochromatic
#111F32 #203B60 #2F578E #3E73BC #6A94CE

Accessibility & contrast

On white

7.30
#2F578E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F578E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F578E#FFFFFF#000000##FFFFFF
##2F578E1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B90
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f578e;
/* rgb */ color: rgb(47, 87, 142);
/* oklch */ color: oklch(45.5% 0.101 256.8);
Tailwind
colors: {
  custom: {
    50: '#7286af',
    500: '#2f578e',
    950: '#000000',
  },
}
SCSS
$custom: #2f578e;
$custom-light: #7286af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f578e",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 142
  },
  "hsl": {
    "h": 214.737,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45536,
    "c": 0.10112,
    "h": 256.8
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#2F578E
secondary
#B59364
accent
#9F4EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F578E

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

Preview Lab → · Contrast checker → · Palette generator →

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