#2F78C1#2F78C1

#2F78C1 is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.3% C 0.134 H 251.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2F78C1
RGBrgb(47, 120, 193)
HSLhsl(210, 61%, 47%)
HSVhsv(210, 76%, 76%)
CMYKcmyk(75.6%, 37.8%, 0%, 24.3%)
CIE-LABlab(49.36, 2.80, -44.61)
CIE-LCHlch(49.36, 44.70, 273.59°)
OKLaboklab(56.34% -0.0426 -0.1272)
OKLCHoklch(56.34% 0.134 251.5)
XYZxyz(17.5108, 17.8855, 52.9711)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78C1 #C1782F
analogous
#2FC1C1 #2F78C1 #2F2FC1
triadic
#2F78C1 #C12F78 #78C12F
tetradic
#2F78C1 #C12FC1 #C1782F #2FC12F
square
#2F78C1 #C12FC1 #C1782F #2FC12F
split-complementary
#2F78C1 #C12F2F #C1C12F
monochromatic
#173B5F #235990 #2F78C1 #5797D6 #88B5E2

Accessibility & contrast

On white

4.59
#2F78C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2F78C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78C1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78C1#FFFFFF#000000##FFFFFF
##2F78C11.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#567DC4
Deuteranopia (green-blind)
#406FC0
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f78c1;
/* rgb */ color: rgb(47, 120, 193);
/* oklch */ color: oklch(56.3% 0.134 251.5);
Tailwind
colors: {
  custom: {
    50: '#7c9ed4',
    500: '#2f78c1',
    950: '#000000',
  },
}
SCSS
$custom: #2f78c1;
$custom-light: #7c9ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78c1",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 193
  },
  "hsl": {
    "h": 210,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.13411,
    "h": 251.5
  },
  "luminance": 0.17888
}

Semantic roles & 50–950 ramp

primary
#2F78C1
secondary
#CCA680
accent
#9444E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2F78C1

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

Preview Lab → · Contrast checker → · Palette generator →

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