#2F76CC#2F76CC

#2F76CC is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.6% C 0.150 H 255.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#2F76CC
RGBrgb(47, 118, 204)
HSLhsl(213, 63%, 49%)
HSVhsv(213, 77%, 80%)
CMYKcmyk(77%, 42.2%, 0%, 20%)
CIE-LABlab(49.40, 8.12, -50.85)
CIE-LCHlch(49.40, 51.49, 279.07°)
OKLaboklab(56.58% -0.0383 -0.1455)
OKLCHoklch(56.58% 0.15 255.3)
XYZxyz(18.5458, 17.9187, 59.5963)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76CC #CC852F
analogous
#2FC5CC #2F76CC #362FCC
triadic
#2F76CC #CC2F76 #76CC2F
tetradic
#2F76CC #CC2FC5 #CC852F #2FCC36
square
#2F76CC #CC2FC5 #CC852F #2FCC36
split-complementary
#2F76CC #CC362F #C5CC2F
monochromatic
#183C69 #24599A #2F76CC #5E96DA #90B7E5

Accessibility & contrast

On white

4.58
#2F76CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2F76CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F76CC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76CC#FFFFFF#000000##000000
##2F76CC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCF
Deuteranopia (green-blind)
#2F6FCA
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f76cc;
/* rgb */ color: rgb(47, 118, 204);
/* oklch */ color: oklch(56.6% 0.150 255.3);
Tailwind
colors: {
  custom: {
    50: '#7e9cdc',
    500: '#2f76cc',
    950: '#000000',
  },
}
SCSS
$custom: #2f76cc;
$custom-light: #7e9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76cc",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 212.866,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56575,
    "c": 0.15045,
    "h": 255.3
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#2F76CC
secondary
#D0AF87
accent
#9C42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F76CC

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

Preview Lab → · Contrast checker → · Palette generator →

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