#2F5D8F#2F5D8F

#2F5D8F is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.0% C 0.096 H 252.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2F5D8F
RGBrgb(47, 93, 143)
HSLhsl(211, 51%, 37%)
HSVhsv(211, 67%, 56%)
CMYKcmyk(67.1%, 35%, 0%, 43.9%)
CIE-LABlab(38.58, 1.13, -32.26)
CIE-LCHlch(38.58, 32.28, 272.01°)
OKLaboklab(47.03% -0.0293 -0.0914)
OKLCHoklch(47.03% 0.096 252.2)
XYZxyz(10.0427, 10.4152, 27.4624)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D8F #8F612F
analogous
#2F8D8F #2F5D8F #312F8F
triadic
#2F5D8F #8F2F5D #5D8F2F
tetradic
#2F5D8F #8F2F8D #8F612F #2F8F31
square
#2F5D8F #8F2F8D #8F612F #2F8F31
split-complementary
#2F5D8F #8F312F #8D8F2F
monochromatic
#112133 #203F61 #2F5D8F #3E7BBD #6A9ACE

Accessibility & contrast

On white

6.81
#2F5D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2F5D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D8F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D8F#FFFFFF#000000##FFFFFF
##2F5D8F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#3A578E
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f5d8f;
/* rgb */ color: rgb(47, 93, 143);
/* oklch */ color: oklch(47.0% 0.096 252.2);
Tailwind
colors: {
  custom: {
    50: '#728ab0',
    500: '#2f5d8f',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d8f;
$custom-light: #728ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d8f",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 143
  },
  "hsl": {
    "h": 211.25,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47026,
    "c": 0.09601,
    "h": 252.2
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#2F5D8F
secondary
#B58F65
accent
#974EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #2F5D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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