#2B4078#2B4078

#2B4078 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.099 H 266.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2B4078
RGBrgb(43, 64, 120)
HSLhsl(224, 47%, 32%)
HSVhsv(224, 64%, 47%)
CMYKcmyk(64.2%, 46.7%, 0%, 52.9%)
CIE-LABlab(28.21, 10.92, -34.56)
CIE-LCHlch(28.21, 36.24, 287.53°)
OKLaboklab(38.49% -0.0062 -0.0986)
OKLCHoklch(38.49% 0.099 266.4)
XYZxyz(6.2187, 5.5359, 18.5065)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4078 #78632B
analogous
#2B6778 #2B4078 #3D2B78
triadic
#2B4078 #782B40 #40782B
tetradic
#2B4078 #782B67 #78632B #2B783D
square
#2B4078 #782B67 #78632B #2B783D
split-complementary
#2B4078 #783D2B #67782B
monochromatic
#0B101E #1B284B #2B4078 #3B58A5 #5A77C4

Accessibility & contrast

On white

9.97
#2B4078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B4078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4078
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4078#FFFFFF#000000##FFFFFF
##2B40781.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26467A
Deuteranopia (green-blind)
#1A3F77
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b4078;
/* rgb */ color: rgb(43, 64, 120);
/* oklch */ color: oklch(38.5% 0.099 266.4);
Tailwind
colors: {
  custom: {
    50: '#6c749f',
    500: '#2b4078',
    950: '#000000',
  },
}
SCSS
$custom: #2b4078;
$custom-light: #6c749f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4078",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 223.636,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38494,
    "c": 0.09882,
    "h": 266.4
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#2B4078
secondary
#AA9355
accent
#B251D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B4078

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

Preview Lab → · Contrast checker → · Palette generator →

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