#2F5B87#2F5B87

#2F5B87 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.1% C 0.087 H 250.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2F5B87
RGBrgb(47, 91, 135)
HSLhsl(210, 48%, 36%)
HSVhsv(210, 65%, 53%)
CMYKcmyk(65.2%, 32.6%, 0%, 47.1%)
CIE-LABlab(37.54, -0.52, -29.04)
CIE-LCHlch(37.54, 29.04, 268.98°)
OKLaboklab(46.08% -0.0295 -0.0821)
OKLCHoklch(46.08% 0.087 250.3)
XYZxyz(9.2849, 9.8349, 24.3260)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B87 #875B2F
analogous
#2F8787 #2F5B87 #2F2F87
triadic
#2F5B87 #872F5B #5B872F
tetradic
#2F5B87 #872F87 #875B2F #2F872F
square
#2F5B87 #872F87 #875B2F #2F872F
split-complementary
#2F5B87 #872F2F #87872F
monochromatic
#0F1E2C #1F3C5A #2F5B87 #3F7AB4 #6698CA

Accessibility & contrast

On white

7.08
#2F5B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2F5B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5B87
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B87#FFFFFF#000000##FFFFFF
##2F5B871.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#3C5586
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f5b87;
/* rgb */ color: rgb(47, 91, 135);
/* oklch */ color: oklch(46.1% 0.087 250.3);
Tailwind
colors: {
  custom: {
    50: '#7189aa',
    500: '#2f5b87',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b87;
$custom-light: #7189aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b87",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 135
  },
  "hsl": {
    "h": 210,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.08719,
    "h": 250.3
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#2F5B87
secondary
#B18961
accent
#9450D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5B87

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

Preview Lab → · Contrast checker → · Palette generator →

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