#2F5886#2F5886

#2F5886 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.3% C 0.089 H 252.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2F5886
RGBrgb(47, 88, 134)
HSLhsl(212, 48%, 35%)
HSVhsv(212, 65%, 53%)
CMYKcmyk(64.9%, 34.3%, 0%, 47.5%)
CIE-LABlab(36.56, 1.02, -29.97)
CIE-LCHlch(36.56, 29.99, 271.95°)
OKLaboklab(45.29% -0.0264 -0.0848)
OKLCHoklch(45.29% 0.089 252.7)
XYZxyz(8.9635, 9.3042, 23.8731)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5886 #865D2F
analogous
#2F8386 #2F5886 #312F86
triadic
#2F5886 #862F58 #58862F
tetradic
#2F5886 #862F83 #865D2F #2F8631
square
#2F5886 #862F83 #865D2F #2F8631
split-complementary
#2F5886 #86312F #83862F
monochromatic
#0F1C2B #1F3A59 #2F5886 #3F76B3 #6695C9

Accessibility & contrast

On white

7.34
#2F5886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2F5886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5886
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5886#FFFFFF#000000##FFFFFF
##2F58861.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B88
Deuteranopia (green-blind)
#385285
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5886;
/* rgb */ color: rgb(47, 88, 134);
/* oklch */ color: oklch(45.3% 0.089 252.7);
Tailwind
colors: {
  custom: {
    50: '#7086a9',
    500: '#2f5886',
    950: '#000000',
  },
}
SCSS
$custom: #2f5886;
$custom-light: #7086a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5886",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 134
  },
  "hsl": {
    "h": 211.724,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45293,
    "c": 0.08882,
    "h": 252.7
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#2F5886
secondary
#B08B60
accent
#9850D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5886

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

Preview Lab → · Contrast checker → · Palette generator →

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