#2F5678#2F5678

#2F5678 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.0% C 0.072 H 246.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2F5678
RGBrgb(47, 86, 120)
HSLhsl(208, 44%, 33%)
HSVhsv(208, 61%, 47%)
CMYKcmyk(60.8%, 28.3%, 0%, 52.9%)
CIE-LABlab(35.23, -2.73, -23.45)
CIE-LCHlch(35.23, 23.61, 263.37°)
OKLaboklab(44.02% -0.0285 -0.0659)
OKLCHoklch(44.02% 0.072 246.6)
XYZxyz(7.8890, 8.6153, 19.0128)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5678 #78512F
analogous
#2F7875 #2F5678 #2F3178
triadic
#2F5678 #782F56 #56782F
tetradic
#2F5678 #752F78 #78512F #31782F
square
#2F5678 #752F78 #78512F #31782F
split-complementary
#2F5678 #782F31 #78752F
monochromatic
#0D1720 #1E364C #2F5678 #4076A4 #6094C1

Accessibility & contrast

On white

7.71
#2F5678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2F5678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5678
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5678#FFFFFF#000000##FFFFFF
##2F56781.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577A
Deuteranopia (green-blind)
#3E5077
Tritanopia (blue-blind)
#005E62
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5678;
/* rgb */ color: rgb(47, 86, 120);
/* oklch */ color: oklch(44.0% 0.072 246.6);
Tailwind
colors: {
  custom: {
    50: '#6e859f',
    500: '#2f5678',
    950: '#000000',
  },
}
SCSS
$custom: #2f5678;
$custom-light: #6e859f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5678",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 120
  },
  "hsl": {
    "h": 207.945,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44016,
    "c": 0.07179,
    "h": 246.6
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#2F5678
secondary
#A87F5B
accent
#9054D3
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2F5678

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

Preview Lab → · Contrast checker → · Palette generator →

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