#2B4497#2B4497

#2B4497 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.139 H 267.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2B4497
RGBrgb(43, 68, 151)
HSLhsl(226, 56%, 38%)
HSVhsv(226, 72%, 59%)
CMYKcmyk(71.5%, 55%, 0%, 40.8%)
CIE-LABlab(31.54, 19.99, -48.39)
CIE-LCHlch(31.54, 52.36, 292.44°)
OKLaboklab(41.72% -0.0064 -0.1392)
OKLCHoklch(41.72% 0.139 267.4)
XYZxyz(8.6474, 6.8813, 30.1447)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4497 #977E2B
analogous
#2B7A97 #2B4497 #482B97
triadic
#2B4497 #972B44 #44972B
tetradic
#2B4497 #972B7A #977E2B #2B9748
square
#2B4497 #972B7A #977E2B #2B9748
split-complementary
#2B4497 #97482B #7A972B
monochromatic
#101938 #1D2F67 #2B4497 #395AC7 #6881D4

Accessibility & contrast

On white

8.84
#2B4497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B4497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4497
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4497#FFFFFF#000000##FFFFFF
##2B44971.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044F9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4497;
/* rgb */ color: rgb(43, 68, 151);
/* oklch */ color: oklch(41.7% 0.139 267.4);
Tailwind
colors: {
  custom: {
    50: '#7377b6',
    500: '#2b4497',
    950: '#000000',
  },
}
SCSS
$custom: #2b4497;
$custom-light: #7377b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4497",
  "rgb": {
    "r": 43,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 226.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41716,
    "c": 0.13939,
    "h": 267.4
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#2B4497
secondary
#BBA663
accent
#BC49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4497

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

Preview Lab → · Contrast checker → · Palette generator →

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