#2B4C91#2B4C91

#2B4C91 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.120 H 263.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2B4C91
RGBrgb(43, 76, 145)
HSLhsl(221, 54%, 37%)
HSVhsv(221, 70%, 57%)
CMYKcmyk(70.3%, 47.6%, 0%, 43.1%)
CIE-LABlab(33.41, 12.29, -41.72)
CIE-LCHlch(33.41, 43.50, 286.42°)
OKLaboklab(43% -0.0145 -0.1195)
OKLCHoklch(43% 0.12 263.1)
XYZxyz(8.6897, 7.7259, 27.8159)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C91 #91702B
analogous
#2B7F91 #2B4C91 #3D2B91
triadic
#2B4C91 #912B4C #4C912B
tetradic
#2B4C91 #912B7F #91702B #2B913D
square
#2B4C91 #912B7F #91702B #2B913D
split-complementary
#2B4C91 #913D2B #7F912B
monochromatic
#0F1B33 #1D3362 #2B4C91 #3965C0 #6588D1

Accessibility & contrast

On white

8.25
#2B4C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2B4C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C91
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C91#FFFFFF#000000##FFFFFF
##2B4C911.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#134A90
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4c91;
/* rgb */ color: rgb(43, 76, 145);
/* oklch */ color: oklch(43.0% 0.120 263.1);
Tailwind
colors: {
  custom: {
    50: '#717db2',
    500: '#2b4c91',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c91;
$custom-light: #717db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c91",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 145
  },
  "hsl": {
    "h": 220.588,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43004,
    "c": 0.12036,
    "h": 263.1
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#2B4C91
secondary
#B89B60
accent
#AE4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2B4C91

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

Preview Lab → · Contrast checker → · Palette generator →

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