#2B4BA4#2B4BA4

#2B4BA4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.149 H 265.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2B4BA4
RGBrgb(43, 75, 164)
HSLhsl(224, 58%, 41%)
HSVhsv(224, 74%, 64%)
CMYKcmyk(73.8%, 54.3%, 0%, 35.7%)
CIE-LABlab(34.45, 20.25, -51.53)
CIE-LCHlch(34.45, 55.36, 291.45°)
OKLaboklab(44.22% -0.0113 -0.1483)
OKLCHoklch(44.22% 0.149 265.7)
XYZxyz(10.2108, 8.2250, 36.1642)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BA4 #A4842B
analogous
#2B87A4 #2B4BA4 #472BA4
triadic
#2B4BA4 #A42B4B #4BA42B
tetradic
#2B4BA4 #A42B87 #A4842B #2BA447
square
#2B4BA4 #A42B87 #A4842B #2BA447
split-complementary
#2B4BA4 #A4472B #87A42B
monochromatic
#121F43 #1E3574 #2B4BA4 #3F65CD #708CD9

Accessibility & contrast

On white

7.94
#2B4BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B4BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BA4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BA4#FFFFFF#000000##FFFFFF
##2B4BA41.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0657A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4ba4;
/* rgb */ color: rgb(43, 75, 164);
/* oklch */ color: oklch(44.2% 0.149 265.7);
Tailwind
colors: {
  custom: {
    50: '#757cc0',
    500: '#2b4ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ba4;
$custom-light: #757cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ba4",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 164
  },
  "hsl": {
    "h": 224.132,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44221,
    "c": 0.14878,
    "h": 265.7
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#2B4BA4
secondary
#C1AA6A
accent
#B946E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B4BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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