#2B4EA8#2B4EA8

#2B4EA8 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.151 H 264.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2B4EA8
RGBrgb(43, 78, 168)
HSLhsl(223, 59%, 41%)
HSVhsv(223, 74%, 66%)
CMYKcmyk(74.4%, 53.6%, 0%, 34.1%)
CIE-LABlab(35.57, 19.77, -52.10)
CIE-LCHlch(35.57, 55.72, 290.78°)
OKLaboklab(45.17% -0.0134 -0.15)
OKLCHoklch(45.17% 0.151 264.9)
XYZxyz(10.7860, 8.7884, 38.1661)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EA8 #A8852B
analogous
#2B8DA8 #2B4EA8 #472BA8
triadic
#2B4EA8 #A82B4E #4EA82B
tetradic
#2B4EA8 #A82B8D #A8852B #2BA847
square
#2B4EA8 #A82B8D #A8852B #2BA847
split-complementary
#2B4EA8 #A8472B #8DA82B
monochromatic
#122147 #1F3777 #2B4EA8 #4269CF #7290DB

Accessibility & contrast

On white

7.61
#2B4EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2B4EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EA8
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EA8#FFFFFF#000000##FFFFFF
##2B4EA81.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5AAB
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4ea8;
/* rgb */ color: rgb(43, 78, 168);
/* oklch */ color: oklch(45.2% 0.151 264.9);
Tailwind
colors: {
  custom: {
    50: '#767fc2',
    500: '#2b4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ea8;
$custom-light: #767fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ea8",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 223.2,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.15056,
    "h": 264.9
  },
  "luminance": 0.0879
}

Semantic roles & 50–950 ramp

primary
#2B4EA8
secondary
#C2AA6C
accent
#B645E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2B4EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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