#2B4EC0#2B4EC0

#2B4EC0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.183 H 266.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2B4EC0
RGBrgb(43, 78, 192)
HSLhsl(226, 63%, 46%)
HSVhsv(226, 78%, 75%)
CMYKcmyk(77.6%, 59.4%, 0%, 24.7%)
CIE-LABlab(37.42, 28.88, -63.27)
CIE-LCHlch(37.42, 69.54, 294.53°)
OKLaboklab(47.14% -0.012 -0.1828)
OKLCHoklch(47.14% 0.183 266.2)
XYZxyz(13.2317, 9.7666, 51.0467)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EC0 #C09D2B
analogous
#2B98C0 #2B4EC0 #522BC0
triadic
#2B4EC0 #C02B4E #4EC02B
tetradic
#2B4EC0 #C02B98 #C09D2B #2BC052
square
#2B4EC0 #C02B98 #C09D2B #2BC052
split-complementary
#2B4EC0 #C0522B #98C02B
monochromatic
#15255C #203A8E #2B4EC0 #5070D8 #8299E3

Accessibility & contrast

On white

7.11
#2B4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2B4EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EC0
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EC0#FFFFFF#000000##FFFFFF
##2B4EC01.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b4ec0;
/* rgb */ color: rgb(43, 78, 192);
/* oklch */ color: oklch(47.1% 0.183 266.2);
Tailwind
colors: {
  custom: {
    50: '#7c7fd4',
    500: '#2b4ec0',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ec0;
$custom-light: #7c7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ec0",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 225.906,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47136,
    "c": 0.18319,
    "h": 266.2
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#2B4EC0
secondary
#CCB97B
accent
#C041E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B4EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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