#2B4F78#2B4F78

#2B4F78 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.080 H 253.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2B4F78
RGBrgb(43, 79, 120)
HSLhsl(212, 47%, 32%)
HSVhsv(212, 64%, 47%)
CMYKcmyk(64.2%, 34.2%, 0%, 52.9%)
CIE-LABlab(32.83, 0.88, -27.23)
CIE-LCHlch(32.83, 27.24, 271.86°)
OKLaboklab(42.08% -0.0236 -0.077)
OKLCHoklch(42.08% 0.08 253)
XYZxyz(7.1812, 7.4610, 18.8273)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F78 #78542B
analogous
#2B7678 #2B4F78 #2E2B78
triadic
#2B4F78 #782B4F #4F782B
tetradic
#2B4F78 #782B76 #78542B #2B782E
square
#2B4F78 #782B76 #78542B #2B782E
split-complementary
#2B4F78 #782E2B #76782B
monochromatic
#0B141E #1B314B #2B4F78 #3B6DA5 #5A8BC4

Accessibility & contrast

On white

8.43
#2B4F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2B4F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F78
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F78#FFFFFF#000000##FFFFFF
##2B4F781.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E517A
Deuteranopia (green-blind)
#334A77
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4f78;
/* rgb */ color: rgb(43, 79, 120);
/* oklch */ color: oklch(42.1% 0.080 253.0);
Tailwind
colors: {
  custom: {
    50: '#6c809f',
    500: '#2b4f78',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f78;
$custom-light: #6c809f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f78",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 211.948,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4208,
    "c": 0.08049,
    "h": 253
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#2B4F78
secondary
#AA8255
accent
#9851D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2B4F78

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

Preview Lab → · Contrast checker → · Palette generator →

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