#2F78A3#2F78A3

#2F78A3 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.7% C 0.098 H 238.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F78A3
RGBrgb(47, 120, 163)
HSLhsl(202, 55%, 41%)
HSVhsv(202, 71%, 64%)
CMYKcmyk(71.2%, 26.4%, 0%, 36.1%)
CIE-LABlab(47.85, -8.09, -29.60)
CIE-LCHlch(47.85, 30.68, 254.72°)
OKLaboklab(54.67% -0.0515 -0.0834)
OKLCHoklch(54.67% 0.098 238.3)
XYZxyz(14.4970, 16.6800, 37.0988)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78A3 #A35A2F
analogous
#2FA394 #2F78A3 #2F3EA3
triadic
#2F78A3 #A32F78 #78A32F
tetradic
#2F78A3 #942FA3 #A35A2F #3EA32F
square
#2F78A3 #942FA3 #A35A2F #3EA32F
split-complementary
#2F78A3 #A32F3E #A3942F
monochromatic
#143244 #215573 #2F78A3 #4699CA #75B3D7

Accessibility & contrast

On white

4.84
#2F78A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2F78A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78A3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78A3#FFFFFF#000000##FFFFFF
##2F78A31.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A5
Deuteranopia (green-blind)
#546DA2
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f78a3;
/* rgb */ color: rgb(47, 120, 163);
/* oklch */ color: oklch(54.7% 0.098 238.3);
Tailwind
colors: {
  custom: {
    50: '#769ebe',
    500: '#2f78a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f78a3;
$custom-light: #769ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78a3",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 163
  },
  "hsl": {
    "h": 202.241,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54667,
    "c": 0.09802,
    "h": 238.3
  },
  "luminance": 0.16682
}

Semantic roles & 50–950 ramp

primary
#2F78A3
secondary
#BF8C6F
accent
#8149DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F78A3

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

Preview Lab → · Contrast checker → · Palette generator →

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