#2F76CA#2F76CA

#2F76CA is a mid, vivid cyan. Relative luminance 0.178; OKLCH L 56.4% C 0.148 H 254.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F76CA
RGBrgb(47, 118, 202)
HSLhsl(213, 62%, 49%)
HSVhsv(213, 77%, 79%)
CMYKcmyk(76.7%, 41.6%, 0%, 20.8%)
CIE-LABlab(49.28, 7.37, -49.89)
CIE-LCHlch(49.28, 50.43, 278.41°)
OKLaboklab(56.45% -0.0387 -0.1427)
OKLCHoklch(56.45% 0.148 254.8)
XYZxyz(18.3074, 17.8233, 58.3410)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76CA #CA832F
analogous
#2FC4CA #2F76CA #362FCA
triadic
#2F76CA #CA2F76 #76CA2F
tetradic
#2F76CA #CA2FC4 #CA832F #2FCA36
square
#2F76CA #CA2FC4 #CA832F #2FCA36
split-complementary
#2F76CA #CA362F #C4CA2F
monochromatic
#183C67 #235998 #2F76CA #5D96D9 #8FB6E5

Accessibility & contrast

On white

4.60
#2F76CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2F76CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F76CA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76CA#FFFFFF#000000##FFFFFF
##2F76CA1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCD
Deuteranopia (green-blind)
#326FC8
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f76ca;
/* rgb */ color: rgb(47, 118, 202);
/* oklch */ color: oklch(56.4% 0.148 254.8);
Tailwind
colors: {
  custom: {
    50: '#7d9cda',
    500: '#2f76ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f76ca;
$custom-light: #7d9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76ca",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 212.516,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56448,
    "c": 0.14785,
    "h": 254.8
  },
  "luminance": 0.17825
}

Semantic roles & 50–950 ramp

primary
#2F76CA
secondary
#CFAD86
accent
#9B42E5
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F76CA

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

Preview Lab → · Contrast checker → · Palette generator →

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