#2B4BA5#2B4BA5

#2B4BA5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.150 H 265.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2B4BA5
RGBrgb(43, 75, 165)
HSLhsl(224, 59%, 41%)
HSVhsv(224, 74%, 65%)
CMYKcmyk(73.9%, 54.5%, 0%, 35.3%)
CIE-LABlab(34.52, 20.63, -52.01)
CIE-LCHlch(34.52, 55.95, 291.63°)
OKLaboklab(44.3% -0.0112 -0.1498)
OKLCHoklch(44.3% 0.15 265.7)
XYZxyz(10.3015, 8.2613, 36.6417)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BA5 #A5852B
analogous
#2B88A5 #2B4BA5 #482BA5
triadic
#2B4BA5 #A52B4B #4BA52B
tetradic
#2B4BA5 #A52B88 #A5852B #2BA548
square
#2B4BA5 #A52B88 #A5852B #2BA548
split-complementary
#2B4BA5 #A5482B #88A52B
monochromatic
#121F44 #1E3574 #2B4BA5 #4065CD #718CDA

Accessibility & contrast

On white

7.92
#2B4BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B4BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BA5
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BA5#FFFFFF#000000##FFFFFF
##2B4BA51.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0257A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4ba5;
/* rgb */ color: rgb(43, 75, 165);
/* oklch */ color: oklch(44.3% 0.150 265.7);
Tailwind
colors: {
  custom: {
    50: '#757cc0',
    500: '#2b4ba5',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ba5;
$custom-light: #757cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ba5",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 224.262,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44301,
    "c": 0.15018,
    "h": 265.7
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#2B4BA5
secondary
#C1AA6B
accent
#B946E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B4BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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