#2F84AB#2F84AB

#2F84AB is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 58.0% C 0.099 H 232.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F84AB
RGBrgb(47, 132, 171)
HSLhsl(199, 57%, 43%)
HSVhsv(199, 73%, 67%)
CMYKcmyk(72.5%, 22.8%, 0%, 32.9%)
CIE-LABlab(51.89, -12.18, -27.97)
CIE-LCHlch(51.89, 30.50, 246.47°)
OKLaboklab(57.99% -0.061 -0.0786)
OKLCHoklch(57.99% 0.099 232.2)
XYZxyz(16.7713, 20.0452, 41.5054)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84AB #AB562F
analogous
#2FAB94 #2F84AB #2F46AB
triadic
#2F84AB #AB2F84 #84AB2F
tetradic
#2F84AB #942FAB #AB562F #46AB2F
square
#2F84AB #942FAB #AB562F #46AB2F
split-complementary
#2F84AB #AB2F46 #AB942F
monochromatic
#153A4B #225F7B #2F84AB #4AA4CD #7ABCDA

Accessibility & contrast

On white

4.19
#2F84AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2F84AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84AB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84AB#FFFFFF#000000##000000
##2F84AB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7182AD
Deuteranopia (green-blind)
#6076AA
Tritanopia (blue-blind)
#008F91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f84ab;
/* rgb */ color: rgb(47, 132, 171);
/* oklch */ color: oklch(58.0% 0.099 232.2);
Tailwind
colors: {
  custom: {
    50: '#78a7c4',
    500: '#2f84ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f84ab;
$custom-light: #78a7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84ab",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 171
  },
  "hsl": {
    "h": 198.871,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.57993,
    "c": 0.09946,
    "h": 232.2
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#2F84AB
secondary
#C38C73
accent
#7848E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F84AB

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

Preview Lab → · Contrast checker → · Palette generator →

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