#2F76BA#2F76BA

#2F76BA is a mid, vivid cyan. Relative luminance 0.171; OKLCH L 55.5% C 0.127 H 250.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2F76BA
RGBrgb(47, 118, 186)
HSLhsl(209, 60%, 46%)
HSVhsv(209, 75%, 73%)
CMYKcmyk(74.7%, 36.6%, 0%, 27.1%)
CIE-LABlab(48.39, 1.43, -42.12)
CIE-LCHlch(48.39, 42.14, 271.95°)
OKLaboklab(55.46% -0.0425 -0.1199)
OKLCHoklch(55.46% 0.127 250.5)
XYZxyz(16.5103, 17.1045, 48.8762)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76BA #BA732F
analogous
#2FBAB9 #2F76BA #2F30BA
triadic
#2F76BA #BA2F76 #76BA2F
tetradic
#2F76BA #B92FBA #BA732F #30BA2F
square
#2F76BA #B92FBA #BA732F #30BA2F
split-complementary
#2F76BA #BA2F30 #BAB92F
monochromatic
#163858 #235789 #2F76BA #5394D3 #84B3E0

Accessibility & contrast

On white

4.75
#2F76BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2F76BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F76BA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76BA#FFFFFF#000000##FFFFFF
##2F76BA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#577ABD
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#00868F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f76ba;
/* rgb */ color: rgb(47, 118, 186);
/* oklch */ color: oklch(55.5% 0.127 250.5);
Tailwind
colors: {
  custom: {
    50: '#7a9dcf',
    500: '#2f76ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f76ba;
$custom-light: #7a9dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76ba",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 186
  },
  "hsl": {
    "h": 209.353,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55464,
    "c": 0.1272,
    "h": 250.5
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#2F76BA
secondary
#C9A27C
accent
#9245E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F76BA

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

Preview Lab → · Contrast checker → · Palette generator →

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