#2F78BA#2F78BA

#2F78BA is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 55.9% C 0.125 H 249.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2F78BA
RGBrgb(47, 120, 186)
HSLhsl(208, 60%, 46%)
HSVhsv(208, 75%, 73%)
CMYKcmyk(74.7%, 35.5%, 0%, 27.1%)
CIE-LABlab(48.98, 0.22, -41.18)
CIE-LCHlch(48.98, 41.18, 270.30°)
OKLaboklab(55.93% -0.0444 -0.1171)
OKLCHoklch(55.93% 0.125 249.2)
XYZxyz(16.7483, 17.5805, 48.9555)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78BA #BA712F
analogous
#2FBAB6 #2F78BA #2F32BA
triadic
#2F78BA #BA2F78 #78BA2F
tetradic
#2F78BA #B62FBA #BA712F #32BA2F
square
#2F78BA #B62FBA #BA712F #32BA2F
split-complementary
#2F78BA #BA2F32 #BAB62F
monochromatic
#163958 #235889 #2F78BA #5396D3 #84B4E0

Accessibility & contrast

On white

4.65
#2F78BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2F78BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78BA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78BA#FFFFFF#000000##FFFFFF
##2F78BA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBD
Deuteranopia (green-blind)
#456FB9
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f78ba;
/* rgb */ color: rgb(47, 120, 186);
/* oklch */ color: oklch(55.9% 0.125 249.2);
Tailwind
colors: {
  custom: {
    50: '#7a9ecf',
    500: '#2f78ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f78ba;
$custom-light: #7a9ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78ba",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 208.489,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.12525,
    "h": 249.2
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#2F78BA
secondary
#C9A07C
accent
#9045E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F78BA

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

Preview Lab → · Contrast checker → · Palette generator →

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