#2B5478#2B5478

#2B5478 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.3% C 0.076 H 247.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2B5478
RGBrgb(43, 84, 120)
HSLhsl(208, 47%, 32%)
HSVhsv(208, 64%, 47%)
CMYKcmyk(64.2%, 30%, 0%, 52.9%)
CIE-LABlab(34.42, -2.32, -24.74)
CIE-LCHlch(34.42, 24.85, 264.64°)
OKLaboklab(43.32% -0.0295 -0.0697)
OKLCHoklch(43.32% 0.076 247.1)
XYZxyz(7.5555, 8.2096, 18.9521)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5478 #784F2B
analogous
#2B7876 #2B5478 #2B2E78
triadic
#2B5478 #782B54 #54782B
tetradic
#2B5478 #762B78 #784F2B #2E782B
square
#2B5478 #762B78 #784F2B #2E782B
split-complementary
#2B5478 #782B2E #78762B
monochromatic
#0B151E #1B344B #2B5478 #3B74A5 #5A92C4

Accessibility & contrast

On white

7.95
#2B5478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2B5478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5478
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5478#FFFFFF#000000##FFFFFF
##2B54781.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557A
Deuteranopia (green-blind)
#3A4E77
Tritanopia (blue-blind)
#005D61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5478;
/* rgb */ color: rgb(43, 84, 120);
/* oklch */ color: oklch(43.3% 0.076 247.1);
Tailwind
colors: {
  custom: {
    50: '#6c839f',
    500: '#2b5478',
    950: '#000000',
  },
}
SCSS
$custom: #2b5478;
$custom-light: #6c839f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5478",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 208.052,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43322,
    "c": 0.07568,
    "h": 247.1
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#2B5478
secondary
#AA7D55
accent
#9051D7
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2B5478

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

Preview Lab → · Contrast checker → · Palette generator →

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