#2B4B78#2B4B78

#2B4B78 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.1% C 0.085 H 257.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2B4B78
RGBrgb(43, 75, 120)
HSLhsl(215, 47%, 32%)
HSVhsv(215, 64%, 47%)
CMYKcmyk(64.2%, 37.5%, 0%, 52.9%)
CIE-LABlab(31.58, 3.50, -29.20)
CIE-LCHlch(31.58, 29.41, 276.84°)
OKLaboklab(41.1% -0.0189 -0.0828)
OKLCHoklch(41.1% 0.085 257.1)
XYZxyz(6.9013, 6.9012, 18.7340)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B78 #78582B
analogous
#2B7278 #2B4B78 #322B78
triadic
#2B4B78 #782B4B #4B782B
tetradic
#2B4B78 #782B72 #78582B #2B7832
square
#2B4B78 #782B72 #78582B #2B7832
split-complementary
#2B4B78 #78322B #72782B
monochromatic
#0B131E #1B2F4B #2B4B78 #3B67A5 #5A86C4

Accessibility & contrast

On white

8.82
#2B4B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B4B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B78
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B78#FFFFFF#000000##FFFFFF
##2B4B781.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E7A
Deuteranopia (green-blind)
#2D4777
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4b78;
/* rgb */ color: rgb(43, 75, 120);
/* oklch */ color: oklch(41.1% 0.085 257.1);
Tailwind
colors: {
  custom: {
    50: '#6c7d9f',
    500: '#2b4b78',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b78;
$custom-light: #6c7d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b78",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 120
  },
  "hsl": {
    "h": 215.065,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.0849,
    "h": 257.1
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#2B4B78
secondary
#AA8755
accent
#9F51D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4B78

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

Preview Lab → · Contrast checker → · Palette generator →

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