#2F5B8F#2F5B8F

#2F5B8F is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.5% C 0.098 H 253.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2F5B8F
RGBrgb(47, 91, 143)
HSLhsl(213, 51%, 37%)
HSVhsv(213, 67%, 56%)
CMYKcmyk(67.1%, 36.4%, 0%, 43.9%)
CIE-LABlab(37.97, 2.40, -33.23)
CIE-LCHlch(37.97, 33.32, 274.13°)
OKLaboklab(46.55% -0.0271 -0.0943)
OKLCHoklch(46.55% 0.098 253.9)
XYZxyz(9.8695, 10.0687, 27.4046)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B8F #8F632F
analogous
#2F8B8F #2F5B8F #332F8F
triadic
#2F5B8F #8F2F5B #5B8F2F
tetradic
#2F5B8F #8F2F8B #8F632F #2F8F33
square
#2F5B8F #8F2F8B #8F632F #2F8F33
split-complementary
#2F5B8F #8F332F #8B8F2F
monochromatic
#112033 #203E61 #2F5B8F #3E78BD #6A98CE

Accessibility & contrast

On white

6.97
#2F5B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2F5B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5B8F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B8F#FFFFFF#000000##FFFFFF
##2F5B8F1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#37558E
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f5b8f;
/* rgb */ color: rgb(47, 91, 143);
/* oklch */ color: oklch(46.5% 0.098 253.9);
Tailwind
colors: {
  custom: {
    50: '#7289b0',
    500: '#2f5b8f',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b8f;
$custom-light: #7289b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b8f",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 143
  },
  "hsl": {
    "h": 212.5,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46547,
    "c": 0.09811,
    "h": 253.9
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#2F5B8F
secondary
#B59065
accent
#9A4EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #2F5B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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