#2F76AB#2F76AB

#2F76AB is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.6% C 0.109 H 244.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F76AB
RGBrgb(47, 118, 171)
HSLhsl(206, 57%, 43%)
HSVhsv(206, 73%, 67%)
CMYKcmyk(72.5%, 31%, 0%, 32.9%)
CIE-LABlab(47.62, -4.05, -34.63)
CIE-LCHlch(47.62, 34.86, 263.34°)
OKLaboklab(54.61% -0.0468 -0.098)
OKLCHoklch(54.61% 0.109 244.5)
XYZxyz(14.9986, 16.4998, 40.9145)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76AB #AB642F
analogous
#2FABA2 #2F76AB #2F38AB
triadic
#2F76AB #AB2F76 #76AB2F
tetradic
#2F76AB #A22FAB #AB642F #38AB2F
square
#2F76AB #A22FAB #AB642F #38AB2F
split-complementary
#2F76AB #AB2F38 #ABA22F
monochromatic
#15344B #22557B #2F76AB #4A95CD #7AB1DA

Accessibility & contrast

On white

4.88
#2F76AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2F76AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F76AB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76AB#FFFFFF#000000##FFFFFF
##2F76AB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AD
Deuteranopia (green-blind)
#4D6CAA
Tritanopia (blue-blind)
#008389
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f76ab;
/* rgb */ color: rgb(47, 118, 171);
/* oklch */ color: oklch(54.6% 0.109 244.5);
Tailwind
colors: {
  custom: {
    50: '#779dc4',
    500: '#2f76ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f76ab;
$custom-light: #779dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76ab",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 171
  },
  "hsl": {
    "h": 205.645,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.10864,
    "h": 244.5
  },
  "luminance": 0.16501
}

Semantic roles & 50–950 ramp

primary
#2F76AB
secondary
#C39573
accent
#8948E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F76AB

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

Preview Lab → · Contrast checker → · Palette generator →

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