#2F84AA#2F84AA

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

Color values

HEX#2F84AA
RGBrgb(47, 132, 170)
HSLhsl(199, 57%, 43%)
HSVhsv(199, 72%, 67%)
CMYKcmyk(72.4%, 22.4%, 0%, 33.3%)
CIE-LABlab(51.85, -12.52, -27.45)
CIE-LCHlch(51.85, 30.18, 245.48°)
OKLaboklab(57.94% -0.0613 -0.0771)
OKLCHoklch(57.94% 0.099 231.5)
XYZxyz(16.6763, 20.0072, 41.0053)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84AA #AA552F
analogous
#2FAA93 #2F84AA #2F46AA
triadic
#2F84AA #AA2F84 #84AA2F
tetradic
#2F84AA #932FAA #AA552F #46AA2F
square
#2F84AA #932FAA #AA552F #46AA2F
split-complementary
#2F84AA #AA2F46 #AA932F
monochromatic
#143A4A #225F7A #2F84AA #49A4CD #79BCDA

Accessibility & contrast

On white

4.20
#2F84AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2F84AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84AA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84AA#FFFFFF#000000##000000
##2F84AA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7182AC
Deuteranopia (green-blind)
#6076A9
Tritanopia (blue-blind)
#008E91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f84aa;
/* rgb */ color: rgb(47, 132, 170);
/* oklch */ color: oklch(57.9% 0.099 231.5);
Tailwind
colors: {
  custom: {
    50: '#78a7c3',
    500: '#2f84aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f84aa;
$custom-light: #78a7c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84aa",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 170
  },
  "hsl": {
    "h": 198.537,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57944,
    "c": 0.09853,
    "h": 231.5
  },
  "luminance": 0.20009
}

Semantic roles & 50–950 ramp

primary
#2F84AA
secondary
#C28B72
accent
#7748E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F84AA

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

Preview Lab → · Contrast checker → · Palette generator →

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