#2F78A2#2F78A2

#2F78A2 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.6% C 0.097 H 237.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F78A2
RGBrgb(47, 120, 162)
HSLhsl(202, 55%, 41%)
HSVhsv(202, 71%, 64%)
CMYKcmyk(71%, 25.9%, 0%, 36.5%)
CIE-LABlab(47.81, -8.44, -29.08)
CIE-LCHlch(47.81, 30.28, 253.82°)
OKLaboklab(54.62% -0.0518 -0.0819)
OKLCHoklch(54.62% 0.097 237.7)
XYZxyz(14.4078, 16.6443, 36.6288)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78A2 #A2592F
analogous
#2FA292 #2F78A2 #2F3EA2
triadic
#2F78A2 #A22F78 #78A22F
tetradic
#2F78A2 #922FA2 #A2592F #3EA22F
square
#2F78A2 #922FA2 #A2592F #3EA22F
split-complementary
#2F78A2 #A22F3E #A2922F
monochromatic
#133243 #215573 #2F78A2 #4599C9 #75B3D7

Accessibility & contrast

On white

4.85
#2F78A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2F78A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78A2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78A2#FFFFFF#000000##FFFFFF
##2F78A21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#546CA1
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f78a2;
/* rgb */ color: rgb(47, 120, 162);
/* oklch */ color: oklch(54.6% 0.097 237.7);
Tailwind
colors: {
  custom: {
    50: '#769ebd',
    500: '#2f78a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f78a2;
$custom-light: #769ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78a2",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 201.913,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54615,
    "c": 0.09693,
    "h": 237.7
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#2F78A2
secondary
#BF8C6E
accent
#8049DE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F78A2

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

Preview Lab → · Contrast checker → · Palette generator →

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