#2B4B91#2B4B91

#2B4B91 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.122 H 263.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2B4B91
RGBrgb(43, 75, 145)
HSLhsl(221, 54%, 37%)
HSVhsv(221, 70%, 57%)
CMYKcmyk(70.3%, 48.3%, 0%, 43.1%)
CIE-LABlab(33.11, 12.96, -42.19)
CIE-LCHlch(33.11, 44.14, 287.08°)
OKLaboklab(42.78% -0.0135 -0.1209)
OKLCHoklch(42.78% 0.122 263.6)
XYZxyz(8.6214, 7.5892, 27.7931)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B91 #91712B
analogous
#2B7E91 #2B4B91 #3E2B91
triadic
#2B4B91 #912B4B #4B912B
tetradic
#2B4B91 #912B7E #91712B #2B913E
square
#2B4B91 #912B7E #91712B #2B913E
split-complementary
#2B4B91 #913E2B #7E912B
monochromatic
#0F1A33 #1D3362 #2B4B91 #3963C0 #6587D1

Accessibility & contrast

On white

8.34
#2B4B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2B4B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B91
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B91#FFFFFF#000000##FFFFFF
##2B4B911.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265394
Deuteranopia (green-blind)
#0F4990
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4b91;
/* rgb */ color: rgb(43, 75, 145);
/* oklch */ color: oklch(42.8% 0.122 263.6);
Tailwind
colors: {
  custom: {
    50: '#717cb2',
    500: '#2b4b91',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b91;
$custom-light: #717cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b91",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 145
  },
  "hsl": {
    "h": 221.176,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.12164,
    "h": 263.6
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#2B4B91
secondary
#B89C60
accent
#AF4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2B4B91

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

Preview Lab → · Contrast checker → · Palette generator →

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