#2F79CA#2F79CA

#2F79CA is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 57.1% C 0.145 H 253.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F79CA
RGBrgb(47, 121, 202)
HSLhsl(211, 62%, 49%)
HSVhsv(211, 77%, 79%)
CMYKcmyk(76.7%, 40.1%, 0%, 20.8%)
CIE-LABlab(50.15, 5.52, -48.51)
CIE-LCHlch(50.15, 48.82, 276.49°)
OKLaboklab(57.12% -0.0413 -0.1386)
OKLCHoklch(57.12% 0.145 253.4)
XYZxyz(18.6663, 18.5412, 58.4607)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F79CA #CA802F
analogous
#2FC7CA #2F79CA #332FCA
triadic
#2F79CA #CA2F79 #79CA2F
tetradic
#2F79CA #CA2FC7 #CA802F #2FCA33
square
#2F79CA #CA2FC7 #CA802F #2FCA33
split-complementary
#2F79CA #CA332F #C7CA2F
monochromatic
#183E67 #235B98 #2F79CA #5D98D9 #8FB8E5

Accessibility & contrast

On white

4.46
#2F79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F79CA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F79CA#FFFFFF#000000##000000
##2F79CA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#3971C8
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f79ca;
/* rgb */ color: rgb(47, 121, 202);
/* oklch */ color: oklch(57.1% 0.145 253.4);
Tailwind
colors: {
  custom: {
    50: '#7d9fda',
    500: '#2f79ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f79ca;
$custom-light: #7d9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#2f79ca",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 211.355,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.1446,
    "h": 253.4
  },
  "luminance": 0.18543
}

Semantic roles & 50–950 ramp

primary
#2F79CA
secondary
#CFAC86
accent
#9842E5
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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