#2B4D78#2B4D78

#2B4D78 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.083 H 255.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2B4D78
RGBrgb(43, 77, 120)
HSLhsl(214, 47%, 32%)
HSVhsv(214, 64%, 47%)
CMYKcmyk(64.2%, 35.8%, 0%, 52.9%)
CIE-LABlab(32.21, 2.19, -28.22)
CIE-LCHlch(32.21, 28.30, 274.43°)
OKLaboklab(41.59% -0.0212 -0.0799)
OKLCHoklch(41.59% 0.083 255.1)
XYZxyz(7.0391, 7.1768, 18.7800)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D78 #78562B
analogous
#2B7478 #2B4D78 #2F2B78
triadic
#2B4D78 #782B4D #4D782B
tetradic
#2B4D78 #782B74 #78562B #2B782F
square
#2B4D78 #782B74 #78562B #2B782F
split-complementary
#2B4D78 #782F2B #74782B
monochromatic
#0B131E #1B304B #2B4D78 #3B6AA5 #5A89C4

Accessibility & contrast

On white

8.62
#2B4D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2B4D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D78
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D78#FFFFFF#000000##FFFFFF
##2B4D781.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507A
Deuteranopia (green-blind)
#304877
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4d78;
/* rgb */ color: rgb(43, 77, 120);
/* oklch */ color: oklch(41.6% 0.083 255.1);
Tailwind
colors: {
  custom: {
    50: '#6c7e9f',
    500: '#2b4d78',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d78;
$custom-light: #6c7e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d78",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 120
  },
  "hsl": {
    "h": 213.506,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41588,
    "c": 0.08265,
    "h": 255.1
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#2B4D78
secondary
#AA8455
accent
#9C51D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4D78

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

Preview Lab → · Contrast checker → · Palette generator →

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