#2F76A1#2F76A1

#2F76A1 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.1% C 0.097 H 238.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F76A1
RGBrgb(47, 118, 161)
HSLhsl(203, 55%, 41%)
HSVhsv(203, 71%, 63%)
CMYKcmyk(70.8%, 26.7%, 0%, 36.9%)
CIE-LABlab(47.15, -7.62, -29.53)
CIE-LCHlch(47.15, 30.49, 255.52°)
OKLaboklab(54.08% -0.0501 -0.0832)
OKLCHoklch(54.08% 0.097 238.9)
XYZxyz(14.0812, 16.1329, 36.0831)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76A1 #A15A2F
analogous
#2FA193 #2F76A1 #2F3DA1
triadic
#2F76A1 #A12F76 #76A12F
tetradic
#2F76A1 #932FA1 #A15A2F #3DA12F
square
#2F76A1 #932FA1 #A15A2F #3DA12F
split-complementary
#2F76A1 #A12F3D #A1932F
monochromatic
#133142 #215372 #2F76A1 #4597C9 #74B1D6

Accessibility & contrast

On white

4.97
#2F76A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2F76A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F76A1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76A1#FFFFFF#000000##FFFFFF
##2F76A11.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6276A3
Deuteranopia (green-blind)
#526BA0
Tritanopia (blue-blind)
#008185
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f76a1;
/* rgb */ color: rgb(47, 118, 161);
/* oklch */ color: oklch(54.1% 0.097 238.9);
Tailwind
colors: {
  custom: {
    50: '#769dbd',
    500: '#2f76a1',
    950: '#000000',
  },
}
SCSS
$custom: #2f76a1;
$custom-light: #769dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76a1",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 161
  },
  "hsl": {
    "h": 202.632,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.09714,
    "h": 238.9
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#2F76A1
secondary
#BE8C6E
accent
#824ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2F76A1

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

Preview Lab → · Contrast checker → · Palette generator →

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