#2A78AF#2A78AF

#2A78AF is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.2% C 0.114 H 243.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2A78AF
RGBrgb(42, 120, 175)
HSLhsl(205, 61%, 43%)
HSVhsv(205, 76%, 69%)
CMYKcmyk(76%, 31.4%, 0%, 31.4%)
CIE-LABlab(48.28, -4.46, -35.93)
CIE-LCHlch(48.28, 36.20, 262.92°)
OKLaboklab(55.15% -0.0504 -0.1018)
OKLCHoklch(55.15% 0.114 243.7)
XYZxyz(15.4062, 17.0185, 43.0221)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78AF #AF612A
analogous
#2AAFA3 #2A78AF #2A36AF
triadic
#2A78AF #AF2A78 #78AF2A
tetradic
#2A78AF #A32AAF #AF612A #36AF2A
square
#2A78AF #A32AAF #AF612A #36AF2A
split-complementary
#2A78AF #AF2A36 #AFA32A
monochromatic
#12344C #1E567E #2A78AF #4497D2 #75B3DE

Accessibility & contrast

On white

4.77
#2A78AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2A78AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A78AF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78AF#FFFFFF#000000##FFFFFF
##2A78AF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F79B1
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#00858C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a78af;
/* rgb */ color: rgb(42, 120, 175);
/* oklch */ color: oklch(55.2% 0.114 243.7);
Tailwind
colors: {
  custom: {
    50: '#769ec7',
    500: '#2a78af',
    950: '#000000',
  },
}
SCSS
$custom: #2a78af;
$custom-light: #769ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78af",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 175
  },
  "hsl": {
    "h": 204.812,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.11361,
    "h": 243.7
  },
  "luminance": 0.1702
}

Semantic roles & 50–950 ramp

primary
#2A78AF
secondary
#C6936F
accent
#8643E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A78AF

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

Preview Lab → · Contrast checker → · Palette generator →

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