#2B4D97#2B4D97

#2B4D97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.128 H 263.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2B4D97
RGBrgb(43, 77, 151)
HSLhsl(221, 56%, 38%)
HSVhsv(221, 72%, 59%)
CMYKcmyk(71.5%, 49%, 0%, 40.8%)
CIE-LABlab(34.10, 13.92, -44.26)
CIE-LCHlch(34.10, 46.40, 287.46°)
OKLaboklab(43.66% -0.0145 -0.1269)
OKLCHoklch(43.66% 0.128 263.5)
XYZxyz(9.2341, 8.0548, 30.3402)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D97 #97752B
analogous
#2B8397 #2B4D97 #3F2B97
triadic
#2B4D97 #972B4D #4D972B
tetradic
#2B4D97 #972B83 #97752B #2B973F
square
#2B4D97 #972B83 #97752B #2B973F
split-complementary
#2B4D97 #973F2B #83972B
monochromatic
#101C38 #1D3567 #2B4D97 #3965C7 #688AD4

Accessibility & contrast

On white

8.04
#2B4D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B4D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D97
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D97#FFFFFF#000000##FFFFFF
##2B4D971.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25559A
Deuteranopia (green-blind)
#074C95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4d97;
/* rgb */ color: rgb(43, 77, 151);
/* oklch */ color: oklch(43.7% 0.128 263.5);
Tailwind
colors: {
  custom: {
    50: '#727eb6',
    500: '#2b4d97',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d97;
$custom-light: #727eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d97",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 221.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43662,
    "c": 0.12776,
    "h": 263.5
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#2B4D97
secondary
#BB9F63
accent
#B049DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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