#2B78AA#2B78AA

#2B78AA is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.9% C 0.107 H 241.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2B78AA
RGBrgb(43, 120, 170)
HSLhsl(204, 60%, 42%)
HSVhsv(204, 75%, 67%)
CMYKcmyk(74.7%, 29.4%, 0%, 33.3%)
CIE-LABlab(48.07, -6.16, -33.36)
CIE-LCHlch(48.07, 33.92, 259.54°)
OKLaboklab(54.91% -0.0514 -0.0943)
OKLCHoklch(54.91% 0.107 241.4)
XYZxyz(14.9656, 16.8471, 40.4855)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B78AA #AA5D2B
analogous
#2BAA9D #2B78AA #2B39AA
triadic
#2B78AA #AA2B78 #78AA2B
tetradic
#2B78AA #9D2BAA #AA5D2B #39AA2B
square
#2B78AA #9D2BAA #AA5D2B #39AA2B
split-complementary
#2B78AA #AA2B39 #AA9D2B
monochromatic
#123348 #1F5679 #2B78AA #4398CF #74B3DC

Accessibility & contrast

On white

4.81
#2B78AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2B78AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B78AA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B78AA#FFFFFF#000000##FFFFFF
##2B78AA1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6179AC
Deuteranopia (green-blind)
#4F6DA9
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b78aa;
/* rgb */ color: rgb(43, 120, 170);
/* oklch */ color: oklch(54.9% 0.107 241.4);
Tailwind
colors: {
  custom: {
    50: '#769ec3',
    500: '#2b78aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b78aa;
$custom-light: #769ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b78aa",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 203.622,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5491,
    "c": 0.10745,
    "h": 241.4
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#2B78AA
secondary
#C38F6E
accent
#8345E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B78AA

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

Preview Lab → · Contrast checker → · Palette generator →

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