#2B78CA#2B78CA

#2B78CA is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.8% C 0.147 H 253.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2B78CA
RGBrgb(43, 120, 202)
HSLhsl(211, 65%, 48%)
HSVhsv(211, 79%, 79%)
CMYKcmyk(78.7%, 40.6%, 0%, 20.8%)
CIE-LABlab(49.75, 5.69, -49.15)
CIE-LCHlch(49.75, 49.48, 276.60°)
OKLaboklab(56.78% -0.0426 -0.1405)
OKLCHoklch(56.78% 0.147 253.1)
XYZxyz(18.3694, 18.2086, 58.4121)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B78CA #CA7D2B
analogous
#2BC8CA #2B78CA #2D2BCA
triadic
#2B78CA #CA2B78 #78CA2B
tetradic
#2B78CA #CA2BC8 #CA7D2B #2BCA2D
square
#2B78CA #CA2BC8 #CA7D2B #2BCA2D
split-complementary
#2B78CA #CA2D2B #C8CA2B
monochromatic
#163C65 #205A98 #2B78CA #5797DB #89B6E6

Accessibility & contrast

On white

4.52
#2B78CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2B78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B78CA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B78CA#FFFFFF#000000##000000
##2B78CA1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#3570C8
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b78ca;
/* rgb */ color: rgb(43, 120, 202);
/* oklch */ color: oklch(56.8% 0.147 253.1);
Tailwind
colors: {
  custom: {
    50: '#7c9eda',
    500: '#2b78ca',
    950: '#000000',
  },
}
SCSS
$custom: #2b78ca;
$custom-light: #7c9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#2b78ca",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 210.943,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5678,
    "c": 0.14684,
    "h": 253.1
  },
  "luminance": 0.18211
}

Semantic roles & 50–950 ramp

primary
#2B78CA
secondary
#D0AA81
accent
#9740E8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2B78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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