#2F5D8D#2F5D8D

#2F5D8D is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.9% C 0.093 H 251.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2F5D8D
RGBrgb(47, 93, 141)
HSLhsl(211, 50%, 37%)
HSVhsv(211, 67%, 55%)
CMYKcmyk(66.7%, 34%, 0%, 44.7%)
CIE-LABlab(38.47, 0.40, -31.22)
CIE-LCHlch(38.47, 31.22, 270.73°)
OKLaboklab(46.91% -0.0299 -0.0884)
OKLCHoklch(46.91% 0.093 251.3)
XYZxyz(9.8926, 10.3551, 26.6715)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D8D #8D5F2F
analogous
#2F8C8D #2F5D8D #302F8D
triadic
#2F5D8D #8D2F5D #5D8D2F
tetradic
#2F5D8D #8D2F8C #8D5F2F #2F8D30
square
#2F5D8D #8D2F8C #8D5F2F #2F8D30
split-complementary
#2F5D8D #8D302F #8C8D2F
monochromatic
#102031 #203F5F #2F5D8D #3E7BBB #699ACD

Accessibility & contrast

On white

6.84
#2F5D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2F5D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D8D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D8D#FFFFFF#000000##FFFFFF
##2F5D8D1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48608F
Deuteranopia (green-blind)
#3B578C
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f5d8d;
/* rgb */ color: rgb(47, 93, 141);
/* oklch */ color: oklch(46.9% 0.093 251.3);
Tailwind
colors: {
  custom: {
    50: '#728aae',
    500: '#2f5d8d',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d8d;
$custom-light: #728aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d8d",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 141
  },
  "hsl": {
    "h": 210.638,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46909,
    "c": 0.0933,
    "h": 251.3
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#2F5D8D
secondary
#B48D64
accent
#954EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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