#2B4AA4#2B4AA4

#2B4AA4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.150 H 266.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2B4AA4
RGBrgb(43, 74, 164)
HSLhsl(225, 58%, 41%)
HSVhsv(225, 74%, 64%)
CMYKcmyk(73.8%, 54.9%, 0%, 35.7%)
CIE-LABlab(34.17, 20.91, -51.98)
CIE-LCHlch(34.17, 56.03, 291.92°)
OKLaboklab(44.01% -0.0104 -0.1497)
OKLCHoklch(44.01% 0.15 266)
XYZxyz(10.1435, 8.0904, 36.1418)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AA4 #A4852B
analogous
#2B86A4 #2B4AA4 #482BA4
triadic
#2B4AA4 #A42B4A #4AA42B
tetradic
#2B4AA4 #A42B86 #A4852B #2BA448
square
#2B4AA4 #A42B86 #A4852B #2BA448
split-complementary
#2B4AA4 #A4482B #86A42B
monochromatic
#121E43 #1E3474 #2B4AA4 #3F64CD #708BD9

Accessibility & contrast

On white

8.02
#2B4AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2B4AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AA4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AA4#FFFFFF#000000##FFFFFF
##2B4AA41.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4aa4;
/* rgb */ color: rgb(43, 74, 164);
/* oklch */ color: oklch(44.0% 0.150 266.0);
Tailwind
colors: {
  custom: {
    50: '#757cc0',
    500: '#2b4aa4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4aa4;
$custom-light: #757cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4aa4",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 224.628,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44012,
    "c": 0.15005,
    "h": 266
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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