#2B5278#2B5278

#2B5278 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.078 H 249.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2B5278
RGBrgb(43, 82, 120)
HSLhsl(210, 47%, 32%)
HSVhsv(210, 64%, 47%)
CMYKcmyk(64.2%, 31.7%, 0%, 52.9%)
CIE-LABlab(33.78, -1.05, -25.74)
CIE-LCHlch(33.78, 25.76, 267.67°)
OKLaboklab(42.82% -0.0271 -0.0726)
OKLCHoklch(42.82% 0.078 249.5)
XYZxyz(7.4025, 7.9035, 18.9011)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5278 #78512B
analogous
#2B7878 #2B5278 #2B2C78
triadic
#2B5278 #782B52 #52782B
tetradic
#2B5278 #782B78 #78512B #2C782B
square
#2B5278 #782B78 #78512B #2C782B
split-complementary
#2B5278 #782B2C #78782B
monochromatic
#0B141E #1B334B #2B5278 #3B71A5 #5A8FC4

Accessibility & contrast

On white

8.14
#2B5278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B5278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5278
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5278#FFFFFF#000000##FFFFFF
##2B52781.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547A
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#005B5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5278;
/* rgb */ color: rgb(43, 82, 120);
/* oklch */ color: oklch(42.8% 0.078 249.5);
Tailwind
colors: {
  custom: {
    50: '#6c829f',
    500: '#2b5278',
    950: '#000000',
  },
}
SCSS
$custom: #2b5278;
$custom-light: #6c829f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5278",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 120
  },
  "hsl": {
    "h": 209.61,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42823,
    "c": 0.07751,
    "h": 249.5
  },
  "luminance": 0.07904
}

Semantic roles & 50–950 ramp

primary
#2B5278
secondary
#AA7F55
accent
#9351D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2B5278

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

Preview Lab → · Contrast checker → · Palette generator →

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