#2B78B8#2B78B8

#2B78B8 is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 55.7% C 0.124 H 247.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2B78B8
RGBrgb(43, 120, 184)
HSLhsl(207, 62%, 45%)
HSVhsv(207, 77%, 72%)
CMYKcmyk(76.6%, 34.8%, 0%, 27.8%)
CIE-LABlab(48.77, -1.03, -40.37)
CIE-LCHlch(48.77, 40.39, 268.54°)
OKLaboklab(55.69% -0.0472 -0.1148)
OKLCHoklch(55.69% 0.124 247.6)
XYZxyz(16.3612, 17.4053, 47.8354)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B78B8 #B86B2B
analogous
#2BB8B2 #2B78B8 #2B31B8
triadic
#2B78B8 #B82B78 #78B82B
tetradic
#2B78B8 #B22BB8 #B86B2B #31B82B
square
#2B78B8 #B22BB8 #B86B2B #31B82B
split-complementary
#2B78B8 #B82B31 #B8B22B
monochromatic
#143755 #1F5886 #2B78B8 #4B96D5 #7DB3E1

Accessibility & contrast

On white

4.69
#2B78B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2B78B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B78B8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B78B8#FFFFFF#000000##FFFFFF
##2B78B81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBB
Deuteranopia (green-blind)
#466EB7
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b78b8;
/* rgb */ color: rgb(43, 120, 184);
/* oklch */ color: oklch(55.7% 0.124 247.6);
Tailwind
colors: {
  custom: {
    50: '#799ecd',
    500: '#2b78b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b78b8;
$custom-light: #799ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b78b8",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 184
  },
  "hsl": {
    "h": 207.234,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55692,
    "c": 0.12412,
    "h": 247.6
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#2B78B8
secondary
#C99C76
accent
#8C43E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2B78B8

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

Preview Lab → · Contrast checker → · Palette generator →

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