#2B4EA2#2B4EA2

#2B4EA2 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.142 H 264.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2B4EA2
RGBrgb(43, 78, 162)
HSLhsl(222, 58%, 40%)
HSVhsv(222, 73%, 64%)
CMYKcmyk(73.5%, 51.9%, 0%, 36.5%)
CIE-LABlab(35.14, 17.47, -49.20)
CIE-LCHlch(35.14, 52.21, 289.55°)
OKLaboklab(44.7% -0.014 -0.1415)
OKLCHoklch(44.7% 0.142 264.4)
XYZxyz(10.2399, 8.5699, 35.2899)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EA2 #A27F2B
analogous
#2B89A2 #2B4EA2 #432BA2
triadic
#2B4EA2 #A22B4E #4EA22B
tetradic
#2B4EA2 #A22B89 #A27F2B #2BA243
square
#2B4EA2 #A22B89 #A27F2B #2BA243
split-complementary
#2B4EA2 #A2432B #89A22B
monochromatic
#111F41 #1E3772 #2B4EA2 #3E68CC #6F8ED9

Accessibility & contrast

On white

7.74
#2B4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4EA2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EA2#FFFFFF#000000##FFFFFF
##2B4EA21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4ea2;
/* rgb */ color: rgb(43, 78, 162);
/* oklch */ color: oklch(44.7% 0.142 264.4);
Tailwind
colors: {
  custom: {
    50: '#757fbe',
    500: '#2b4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ea2;
$custom-light: #757fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ea2",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 222.353,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44703,
    "c": 0.14215,
    "h": 264.4
  },
  "luminance": 0.08571
}

Semantic roles & 50–950 ramp

primary
#2B4EA2
secondary
#C0A669
accent
#B447E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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