#2B4AA2#2B4AA2

#2B4AA2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.147 H 265.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2B4AA2
RGBrgb(43, 74, 162)
HSLhsl(224, 58%, 40%)
HSVhsv(224, 73%, 64%)
CMYKcmyk(73.5%, 54.3%, 0%, 36.5%)
CIE-LABlab(34.02, 20.15, -51.02)
CIE-LCHlch(34.02, 54.85, 291.55°)
OKLaboklab(43.85% -0.0106 -0.1469)
OKLCHoklch(43.85% 0.147 265.9)
XYZxyz(9.9643, 8.0187, 35.1980)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AA2 #A2832B
analogous
#2B85A2 #2B4AA2 #482BA2
triadic
#2B4AA2 #A22B4A #4AA22B
tetradic
#2B4AA2 #A22B85 #A2832B #2BA248
square
#2B4AA2 #A22B85 #A2832B #2BA248
split-complementary
#2B4AA2 #A2482B #85A22B
monochromatic
#111E41 #1E3472 #2B4AA2 #3E63CC #6F8AD9

Accessibility & contrast

On white

8.06
#2B4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2B4AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AA2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AA2#FFFFFF#000000##FFFFFF
##2B4AA21.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0656A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4aa2;
/* rgb */ color: rgb(43, 74, 162);
/* oklch */ color: oklch(43.9% 0.147 265.9);
Tailwind
colors: {
  custom: {
    50: '#757cbe',
    500: '#2b4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #2b4aa2;
$custom-light: #757cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4aa2",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 224.37,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.14725,
    "h": 265.9
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

primary
#2B4AA2
secondary
#C0A969
accent
#B947E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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