#2B4E98#2B4E98

#2B4E98 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.128 H 263.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2B4E98
RGBrgb(43, 78, 152)
HSLhsl(221, 56%, 38%)
HSVhsv(221, 72%, 60%)
CMYKcmyk(71.7%, 48.7%, 0%, 40.4%)
CIE-LABlab(34.45, 13.64, -44.29)
CIE-LCHlch(34.45, 46.34, 287.11°)
OKLaboklab(43.96% -0.0153 -0.127)
OKLCHoklch(43.96% 0.128 263.1)
XYZxyz(9.3861, 8.2284, 30.7933)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E98 #98752B
analogous
#2B8498 #2B4E98 #3E2B98
triadic
#2B4E98 #982B4E #4E982B
tetradic
#2B4E98 #982B84 #98752B #2B983E
square
#2B4E98 #982B84 #98752B #2B983E
split-complementary
#2B4E98 #983E2B #84982B
monochromatic
#101D39 #1E3668 #2B4E98 #3967C7 #698BD5

Accessibility & contrast

On white

7.94
#2B4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E98
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E98#FFFFFF#000000##FFFFFF
##2B4E981.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569B
Deuteranopia (green-blind)
#094C96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4e98;
/* rgb */ color: rgb(43, 78, 152);
/* oklch */ color: oklch(44.0% 0.128 263.1);
Tailwind
colors: {
  custom: {
    50: '#727fb7',
    500: '#2b4e98',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e98;
$custom-light: #727fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e98",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 220.734,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.12792,
    "h": 263.1
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#2B4E98
secondary
#BB9F64
accent
#AF49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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