#2B4EA0#2B4EA0

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

Color values

HEX#2B4EA0
RGBrgb(43, 78, 160)
HSLhsl(222, 58%, 40%)
HSVhsv(222, 73%, 63%)
CMYKcmyk(73.1%, 51.2%, 0%, 37.3%)
CIE-LABlab(35.00, 16.71, -48.23)
CIE-LCHlch(35.00, 51.04, 289.10°)
OKLaboklab(44.55% -0.0142 -0.1386)
OKLCHoklch(44.55% 0.139 264.1)
XYZxyz(10.0636, 8.4994, 34.3611)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EA0 #A07D2B
analogous
#2B89A0 #2B4EA0 #422BA0
triadic
#2B4EA0 #A02B4E #4EA02B
tetradic
#2B4EA0 #A02B89 #A07D2B #2BA042
square
#2B4EA0 #A02B89 #A07D2B #2BA042
split-complementary
#2B4EA0 #A0422B #89A02B
monochromatic
#111F40 #1E3670 #2B4EA0 #3D68CB #6E8DD8

Accessibility & contrast

On white

7.78
#2B4EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2B4EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EA0
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EA0#FFFFFF#000000##FFFFFF
##2B4EA01.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C58A3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4ea0;
/* rgb */ color: rgb(43, 78, 160);
/* oklch */ color: oklch(44.6% 0.139 264.1);
Tailwind
colors: {
  custom: {
    50: '#747fbd',
    500: '#2b4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ea0;
$custom-light: #747fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ea0",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 222.051,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44551,
    "c": 0.13933,
    "h": 264.1
  },
  "luminance": 0.085
}

Semantic roles & 50–950 ramp

primary
#2B4EA0
secondary
#BFA568
accent
#B347E1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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