#2F5C8F#2F5C8F

#2F5C8F is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.097 H 253.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2F5C8F
RGBrgb(47, 92, 143)
HSLhsl(212, 51%, 37%)
HSVhsv(212, 67%, 56%)
CMYKcmyk(67.1%, 35.7%, 0%, 43.9%)
CIE-LABlab(38.27, 1.76, -32.75)
CIE-LCHlch(38.27, 32.80, 273.08°)
OKLaboklab(46.79% -0.0282 -0.0929)
OKLCHoklch(46.79% 0.097 253.1)
XYZxyz(9.9555, 10.2408, 27.4333)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C8F #8F622F
analogous
#2F8C8F #2F5C8F #322F8F
triadic
#2F5C8F #8F2F5C #5C8F2F
tetradic
#2F5C8F #8F2F8C #8F622F #2F8F32
square
#2F5C8F #8F2F8C #8F622F #2F8F32
split-complementary
#2F5C8F #8F322F #8C8F2F
monochromatic
#112133 #203E61 #2F5C8F #3E7ABD #6A99CE

Accessibility & contrast

On white

6.89
#2F5C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2F5C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5C8F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C8F#FFFFFF#000000##FFFFFF
##2F5C8F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F91
Deuteranopia (green-blind)
#38568E
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5c8f;
/* rgb */ color: rgb(47, 92, 143);
/* oklch */ color: oklch(46.8% 0.097 253.1);
Tailwind
colors: {
  custom: {
    50: '#7289b0',
    500: '#2f5c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c8f;
$custom-light: #7289b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c8f",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 143
  },
  "hsl": {
    "h": 211.875,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46786,
    "c": 0.09705,
    "h": 253.1
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F5C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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