#2A78B1#2A78B1

#2A78B1 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.3% C 0.116 H 244.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2A78B1
RGBrgb(42, 120, 177)
HSLhsl(205, 62%, 43%)
HSVhsv(205, 76%, 69%)
CMYKcmyk(76.3%, 32.2%, 0%, 30.6%)
CIE-LABlab(48.38, -3.73, -36.93)
CIE-LCHlch(48.38, 37.12, 264.23°)
OKLaboklab(55.27% -0.0498 -0.1047)
OKLCHoklch(55.27% 0.116 244.6)
XYZxyz(15.6041, 17.0977, 44.0642)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78B1 #B1632A
analogous
#2AB1A6 #2A78B1 #2A35B1
triadic
#2A78B1 #B12A78 #78B12A
tetradic
#2A78B1 #A62AB1 #B1632A #35B12A
square
#2A78B1 #A62AB1 #B1632A #35B12A
split-complementary
#2A78B1 #B12A35 #B1A62A
monochromatic
#13354E #1E5680 #2A78B1 #4597D3 #77B3DF

Accessibility & contrast

On white

4.75
#2A78B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2A78B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A78B1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78B1#FFFFFF#000000##FFFFFF
##2A78B11.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB3
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#00868C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a78b1;
/* rgb */ color: rgb(42, 120, 177);
/* oklch */ color: oklch(55.3% 0.116 244.6);
Tailwind
colors: {
  custom: {
    50: '#779ec8',
    500: '#2a78b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a78b1;
$custom-light: #779ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78b1",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 177
  },
  "hsl": {
    "h": 205.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.11598,
    "h": 244.6
  },
  "luminance": 0.171
}

Semantic roles & 50–950 ramp

primary
#2A78B1
secondary
#C69570
accent
#8743E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A78B1

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

Preview Lab → · Contrast checker → · Palette generator →

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