#2B4AA7#2B4AA7

#2B4AA7 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.154 H 266.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2B4AA7
RGBrgb(43, 74, 167)
HSLhsl(225, 59%, 41%)
HSVhsv(225, 74%, 65%)
CMYKcmyk(74.3%, 55.7%, 0%, 34.5%)
CIE-LABlab(34.40, 22.06, -53.41)
CIE-LCHlch(34.40, 57.78, 292.44°)
OKLaboklab(44.25% -0.0102 -0.1539)
OKLCHoklch(44.25% 0.154 266.2)
XYZxyz(10.4176, 8.2001, 37.5855)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AA7 #A7882B
analogous
#2B88A7 #2B4AA7 #4A2BA7
triadic
#2B4AA7 #A72B4A #4AA72B
tetradic
#2B4AA7 #A72B88 #A7882B #2BA74A
square
#2B4AA7 #A72B88 #A7882B #2BA74A
split-complementary
#2B4AA7 #A74A2B #88A72B
monochromatic
#121F46 #1E3476 #2B4AA7 #4164CE #728CDB

Accessibility & contrast

On white

7.95
#2B4AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2B4AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AA7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AA7#FFFFFF#000000##FFFFFF
##2B4AA71.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4aa7;
/* rgb */ color: rgb(43, 74, 167);
/* oklch */ color: oklch(44.3% 0.154 266.2);
Tailwind
colors: {
  custom: {
    50: '#767cc2',
    500: '#2b4aa7',
    950: '#000000',
  },
}
SCSS
$custom: #2b4aa7;
$custom-light: #767cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4aa7",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 225,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.15424,
    "h": 266.2
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#2B4AA7
secondary
#C2AC6C
accent
#BB46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B4AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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