#2F78AA#2F78AA

#2F78AA is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 55.0% C 0.106 H 242.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F78AA
RGBrgb(47, 120, 170)
HSLhsl(204, 57%, 43%)
HSVhsv(204, 72%, 67%)
CMYKcmyk(72.4%, 29.4%, 0%, 33.3%)
CIE-LABlab(48.18, -5.60, -33.17)
CIE-LCHlch(48.18, 33.64, 260.42°)
OKLaboklab(55.03% -0.0492 -0.0937)
OKLCHoklch(55.03% 0.106 242.3)
XYZxyz(15.1417, 16.9379, 40.4937)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78AA #AA612F
analogous
#2FAA9E #2F78AA #2F3BAA
triadic
#2F78AA #AA2F78 #78AA2F
tetradic
#2F78AA #9E2FAA #AA612F #3BAA2F
square
#2F78AA #9E2FAA #AA612F #3BAA2F
split-complementary
#2F78AA #AA2F3B #AA9E2F
monochromatic
#14344A #22567A #2F78AA #4997CD #79B3DA

Accessibility & contrast

On white

4.79
#2F78AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2F78AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78AA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78AA#FFFFFF#000000##FFFFFF
##2F78AA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6179AC
Deuteranopia (green-blind)
#506DA9
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f78aa;
/* rgb */ color: rgb(47, 120, 170);
/* oklch */ color: oklch(55.0% 0.106 242.3);
Tailwind
colors: {
  custom: {
    50: '#779ec3',
    500: '#2f78aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f78aa;
$custom-light: #779ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78aa",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 204.39,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55034,
    "c": 0.10586,
    "h": 242.3
  },
  "luminance": 0.1694
}

Semantic roles & 50–950 ramp

primary
#2F78AA
secondary
#C29372
accent
#8648E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F78AA

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

Preview Lab → · Contrast checker → · Palette generator →

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