#2B4EA1#2B4EA1

#2B4EA1 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.141 H 264.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2B4EA1
RGBrgb(43, 78, 161)
HSLhsl(222, 58%, 40%)
HSVhsv(222, 73%, 63%)
CMYKcmyk(73.3%, 51.6%, 0%, 36.9%)
CIE-LABlab(35.07, 17.09, -48.72)
CIE-LCHlch(35.07, 51.63, 289.33°)
OKLaboklab(44.63% -0.0141 -0.14)
OKLCHoklch(44.63% 0.141 264.3)
XYZxyz(10.1514, 8.5345, 34.8236)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EA1 #A17E2B
analogous
#2B89A1 #2B4EA1 #432BA1
triadic
#2B4EA1 #A12B4E #4EA12B
tetradic
#2B4EA1 #A12B89 #A17E2B #2BA143
square
#2B4EA1 #A12B89 #A17E2B #2BA143
split-complementary
#2B4EA1 #A1432B #89A12B
monochromatic
#111F40 #1E3771 #2B4EA1 #3E68CB #6E8ED8

Accessibility & contrast

On white

7.76
#2B4EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2B4EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EA1
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EA1#FFFFFF#000000##FFFFFF
##2B4EA11.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4ea1;
/* rgb */ color: rgb(43, 78, 161);
/* oklch */ color: oklch(44.6% 0.141 264.3);
Tailwind
colors: {
  custom: {
    50: '#747fbd',
    500: '#2b4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ea1;
$custom-light: #747fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ea1",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 222.203,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.44627,
    "c": 0.14074,
    "h": 264.3
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#2B4EA1
secondary
#BFA669
accent
#B347E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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