#2F78AC#2F78AC

#2F78AC is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.1% C 0.108 H 243.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2F78AC
RGBrgb(47, 120, 172)
HSLhsl(205, 57%, 43%)
HSVhsv(205, 73%, 67%)
CMYKcmyk(72.7%, 30.2%, 0%, 32.5%)
CIE-LABlab(48.28, -4.88, -34.18)
CIE-LCHlch(48.28, 34.53, 261.88°)
OKLaboklab(55.14% -0.0485 -0.0967)
OKLCHoklch(55.14% 0.108 243.3)
XYZxyz(15.3323, 17.0141, 41.4977)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78AC #AC632F
analogous
#2FACA1 #2F78AC #2F39AC
triadic
#2F78AC #AC2F78 #78AC2F
tetradic
#2F78AC #A12FAC #AC632F #39AC2F
square
#2F78AC #A12FAC #AC632F #39AC2F
split-complementary
#2F78AC #AC2F39 #ACA12F
monochromatic
#15354C #22567C #2F78AC #4B97CE #7BB3DB

Accessibility & contrast

On white

4.77
#2F78AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2F78AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78AC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78AC#FFFFFF#000000##FFFFFF
##2F78AC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6079AE
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f78ac;
/* rgb */ color: rgb(47, 120, 172);
/* oklch */ color: oklch(55.1% 0.108 243.3);
Tailwind
colors: {
  custom: {
    50: '#789ec5',
    500: '#2f78ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f78ac;
$custom-light: #789ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78ac",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 172
  },
  "hsl": {
    "h": 204.96,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55141,
    "c": 0.10819,
    "h": 243.3
  },
  "luminance": 0.17016
}

Semantic roles & 50–950 ramp

primary
#2F78AC
secondary
#C39574
accent
#8747E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F78AC

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

Preview Lab → · Contrast checker → · Palette generator →

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