#2F76A5#2F76A5

#2F76A5 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.3% C 0.102 H 241.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2F76A5
RGBrgb(47, 118, 165)
HSLhsl(204, 56%, 42%)
HSVhsv(204, 72%, 65%)
CMYKcmyk(71.5%, 28.5%, 0%, 35.3%)
CIE-LABlab(47.33, -6.20, -31.58)
CIE-LCHlch(47.33, 32.18, 258.89°)
OKLaboklab(54.29% -0.0488 -0.0891)
OKLCHoklch(54.29% 0.102 241.3)
XYZxyz(14.4396, 16.2762, 37.9706)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76A5 #A55E2F
analogous
#2FA599 #2F76A5 #2F3BA5
triadic
#2F76A5 #A52F76 #76A52F
tetradic
#2F76A5 #992FA5 #A55E2F #3BA52F
square
#2F76A5 #992FA5 #A55E2F #3BA52F
split-complementary
#2F76A5 #A52F3B #A5992F
monochromatic
#143246 #215475 #2F76A5 #4796CB #76B1D8

Accessibility & contrast

On white

4.93
#2F76A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2F76A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F76A5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76A5#FFFFFF#000000##FFFFFF
##2F76A51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6077A7
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#008286
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f76a5;
/* rgb */ color: rgb(47, 118, 165);
/* oklch */ color: oklch(54.3% 0.102 241.3);
Tailwind
colors: {
  custom: {
    50: '#769dc0',
    500: '#2f76a5',
    950: '#000000',
  },
}
SCSS
$custom: #2f76a5;
$custom-light: #769dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76a5",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 165
  },
  "hsl": {
    "h": 203.898,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.10162,
    "h": 241.3
  },
  "luminance": 0.16278
}

Semantic roles & 50–950 ramp

primary
#2F76A5
secondary
#C09070
accent
#8549DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F76A5

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

Preview Lab → · Contrast checker → · Palette generator →

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