#2B4EBA#2B4EBA

#2B4EBA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.175 H 266.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2B4EBA
RGBrgb(43, 78, 186)
HSLhsl(225, 62%, 45%)
HSVhsv(225, 77%, 73%)
CMYKcmyk(76.9%, 58.1%, 0%, 27.1%)
CIE-LABlab(36.94, 26.62, -60.53)
CIE-LCHlch(36.94, 66.13, 293.74°)
OKLaboklab(46.63% -0.0122 -0.1748)
OKLCHoklch(46.63% 0.175 266)
XYZxyz(12.5805, 9.5061, 47.6167)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EBA #BA972B
analogous
#2B95BA #2B4EBA #502BBA
triadic
#2B4EBA #BA2B4E #4EBA2B
tetradic
#2B4EBA #BA2B95 #BA972B #2BBA50
square
#2B4EBA #BA2B95 #BA972B #2BBA50
split-complementary
#2B4EBA #BA502B #95BA2B
monochromatic
#142457 #203988 #2B4EBA #4C6ED6 #7E96E1

Accessibility & contrast

On white

7.24
#2B4EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2B4EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EBA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EBA#FFFFFF#000000##FFFFFF
##2B4EBA1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b4eba;
/* rgb */ color: rgb(43, 78, 186);
/* oklch */ color: oklch(46.6% 0.175 266.0);
Tailwind
colors: {
  custom: {
    50: '#7a7fd0',
    500: '#2b4eba',
    950: '#000000',
  },
}
SCSS
$custom: #2b4eba;
$custom-light: #7a7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4eba",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 225.315,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46628,
    "c": 0.17519,
    "h": 266
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#2B4EBA
secondary
#CAB677
accent
#BE42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2B4EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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