#2F5C8D#2F5C8D

#2F5C8D is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.7% C 0.094 H 252.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2F5C8D
RGBrgb(47, 92, 141)
HSLhsl(211, 50%, 37%)
HSVhsv(211, 67%, 55%)
CMYKcmyk(66.7%, 34.8%, 0%, 44.7%)
CIE-LABlab(38.16, 1.03, -31.71)
CIE-LCHlch(38.16, 31.72, 271.87°)
OKLaboklab(46.67% -0.0288 -0.0898)
OKLCHoklch(46.67% 0.094 252.2)
XYZxyz(9.8054, 10.1807, 26.6425)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C8D #8D602F
analogous
#2F8B8D #2F5C8D #312F8D
triadic
#2F5C8D #8D2F5C #5C8D2F
tetradic
#2F5C8D #8D2F8B #8D602F #2F8D31
square
#2F5C8D #8D2F8B #8D602F #2F8D31
split-complementary
#2F5C8D #8D312F #8B8D2F
monochromatic
#102031 #203E5F #2F5C8D #3E7ABB #6999CD

Accessibility & contrast

On white

6.92
#2F5C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2F5C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5C8D
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C8D#FFFFFF#000000##FFFFFF
##2F5C8D1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5c8d;
/* rgb */ color: rgb(47, 92, 141);
/* oklch */ color: oklch(46.7% 0.094 252.2);
Tailwind
colors: {
  custom: {
    50: '#7289ae',
    500: '#2f5c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c8d;
$custom-light: #7289ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c8d",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 211.277,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46668,
    "c": 0.09431,
    "h": 252.2
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#2F5C8D
secondary
#B48E64
accent
#974EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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