#2B4AA5#2B4AA5

#2B4AA5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.151 H 266.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2B4AA5
RGBrgb(43, 74, 165)
HSLhsl(225, 59%, 41%)
HSVhsv(225, 74%, 65%)
CMYKcmyk(73.9%, 55.2%, 0%, 35.3%)
CIE-LABlab(34.25, 21.30, -52.45)
CIE-LCHlch(34.25, 56.61, 292.10°)
OKLaboklab(44.09% -0.0104 -0.1511)
OKLCHoklch(44.09% 0.151 266.1)
XYZxyz(10.2342, 8.1267, 36.6193)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AA5 #A5862B
analogous
#2B87A5 #2B4AA5 #492BA5
triadic
#2B4AA5 #A52B4A #4AA52B
tetradic
#2B4AA5 #A52B87 #A5862B #2BA549
square
#2B4AA5 #A52B87 #A5862B #2BA549
split-complementary
#2B4AA5 #A5492B #87A52B
monochromatic
#121E44 #1E3474 #2B4AA5 #4064CD #718BDA

Accessibility & contrast

On white

8.00
#2B4AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4AA5
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AA5#FFFFFF#000000##FFFFFF
##2B4AA51.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4aa5;
/* rgb */ color: rgb(43, 74, 165);
/* oklch */ color: oklch(44.1% 0.151 266.1);
Tailwind
colors: {
  custom: {
    50: '#757cc0',
    500: '#2b4aa5',
    950: '#000000',
  },
}
SCSS
$custom: #2b4aa5;
$custom-light: #757cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4aa5",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 224.754,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44093,
    "c": 0.15144,
    "h": 266.1
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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