#2B4BA2#2B4BA2

#2B4BA2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.146 H 265.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2B4BA2
RGBrgb(43, 75, 162)
HSLhsl(224, 58%, 40%)
HSVhsv(224, 73%, 64%)
CMYKcmyk(73.5%, 53.7%, 0%, 36.5%)
CIE-LABlab(34.30, 19.48, -50.57)
CIE-LCHlch(34.30, 54.19, 291.07°)
OKLaboklab(44.06% -0.0114 -0.1455)
OKLCHoklch(44.06% 0.146 265.5)
XYZxyz(10.0316, 8.1533, 35.2205)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BA2 #A2822B
analogous
#2B86A2 #2B4BA2 #472BA2
triadic
#2B4BA2 #A22B4B #4BA22B
tetradic
#2B4BA2 #A22B86 #A2822B #2BA247
square
#2B4BA2 #A22B86 #A2822B #2BA247
split-complementary
#2B4BA2 #A2472B #86A22B
monochromatic
#111E41 #1E3572 #2B4BA2 #3E64CC #6F8BD9

Accessibility & contrast

On white

7.98
#2B4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2B4BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BA2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BA2#FFFFFF#000000##FFFFFF
##2B4BA21.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C56A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4ba2;
/* rgb */ color: rgb(43, 75, 162);
/* oklch */ color: oklch(44.1% 0.146 265.5);
Tailwind
colors: {
  custom: {
    50: '#757cbe',
    500: '#2b4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ba2;
$custom-light: #757cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ba2",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 223.866,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44064,
    "c": 0.14597,
    "h": 265.5
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#2B4BA2
secondary
#C0A869
accent
#B847E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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