#2B4591#2B4591

#2B4591 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.129 H 266.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2B4591
RGBrgb(43, 69, 145)
HSLhsl(225, 54%, 37%)
HSVhsv(225, 70%, 57%)
CMYKcmyk(70.3%, 52.4%, 0%, 43.1%)
CIE-LABlab(31.38, 17.02, -44.99)
CIE-LCHlch(31.38, 48.10, 290.72°)
OKLaboklab(41.46% -0.0078 -0.1292)
OKLCHoklch(41.46% 0.129 266.5)
XYZxyz(8.2334, 6.8134, 27.6638)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4591 #91772B
analogous
#2B7891 #2B4591 #442B91
triadic
#2B4591 #912B45 #45912B
tetradic
#2B4591 #912B78 #91772B #2B9144
square
#2B4591 #912B78 #91772B #2B9144
split-complementary
#2B4591 #91442B #78912B
monochromatic
#0F1833 #1D2F62 #2B4591 #395BC0 #6581D1

Accessibility & contrast

On white

8.89
#2B4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B4591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4591
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4591#FFFFFF#000000##FFFFFF
##2B45911.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4591;
/* rgb */ color: rgb(43, 69, 145);
/* oklch */ color: oklch(41.5% 0.129 266.5);
Tailwind
colors: {
  custom: {
    50: '#7178b2',
    500: '#2b4591',
    950: '#000000',
  },
}
SCSS
$custom: #2b4591;
$custom-light: #7178b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4591",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 224.706,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41458,
    "c": 0.12944,
    "h": 266.5
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#2B4591
secondary
#B8A160
accent
#B84ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4591

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

Preview Lab → · Contrast checker → · Palette generator →

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