#2B4E78#2B4E78

#2B4E78 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.082 H 254.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2B4E78
RGBrgb(43, 78, 120)
HSLhsl(213, 47%, 32%)
HSVhsv(213, 64%, 47%)
CMYKcmyk(64.2%, 35%, 0%, 52.9%)
CIE-LABlab(32.52, 1.53, -27.72)
CIE-LCHlch(32.52, 27.76, 273.17°)
OKLaboklab(41.83% -0.0224 -0.0784)
OKLCHoklch(41.83% 0.082 254)
XYZxyz(7.1096, 7.3178, 18.8035)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E78 #78552B
analogous
#2B7578 #2B4E78 #2F2B78
triadic
#2B4E78 #782B4E #4E782B
tetradic
#2B4E78 #782B75 #78552B #2B782F
square
#2B4E78 #782B75 #78552B #2B782F
split-complementary
#2B4E78 #782F2B #75782B
monochromatic
#0B131E #1B314B #2B4E78 #3B6BA5 #5A8AC4

Accessibility & contrast

On white

8.52
#2B4E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2B4E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E78
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E78#FFFFFF#000000##FFFFFF
##2B4E781.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517A
Deuteranopia (green-blind)
#324977
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4e78;
/* rgb */ color: rgb(43, 78, 120);
/* oklch */ color: oklch(41.8% 0.082 254.0);
Tailwind
colors: {
  custom: {
    50: '#6c7f9f',
    500: '#2b4e78',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e78;
$custom-light: #6c7f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e78",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 212.727,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.08155,
    "h": 254
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#2B4E78
secondary
#AA8355
accent
#9A51D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2B4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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