#2F5E87#2F5E87

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

Color values

HEX#2F5E87
RGBrgb(47, 94, 135)
HSLhsl(208, 48%, 36%)
HSVhsv(208, 65%, 53%)
CMYKcmyk(65.2%, 30.4%, 0%, 47.1%)
CIE-LABlab(38.48, -2.40, -27.58)
CIE-LCHlch(38.48, 27.68, 265.03°)
OKLaboklab(46.81% -0.0329 -0.0778)
OKLCHoklch(46.81% 0.084 247.1)
XYZxyz(9.5465, 10.3581, 24.4132)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E87 #87582F
analogous
#2F8784 #2F5E87 #2F3287
triadic
#2F5E87 #872F5E #5E872F
tetradic
#2F5E87 #842F87 #87582F #32872F
square
#2F5E87 #842F87 #87582F #32872F
split-complementary
#2F5E87 #872F32 #87842F
monochromatic
#0F1F2C #1F3E5A #2F5E87 #3F7EB4 #669CCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F5E87#FFFFFF#000000##FFFFFF
##2F5E871.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)
#4C5F89
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f5e87;
/* rgb */ color: rgb(47, 94, 135);
/* oklch */ color: oklch(46.8% 0.084 247.1);
Tailwind
colors: {
  custom: {
    50: '#718baa',
    500: '#2f5e87',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e87;
$custom-light: #718baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e87",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 207.955,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46813,
    "c": 0.08443,
    "h": 247.1
  },
  "luminance": 0.10359
}

Semantic roles & 50–950 ramp

primary
#2F5E87
secondary
#B18661
accent
#8F50D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2F5E87

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

Preview Lab → · Contrast checker → · Palette generator →

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